-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2FA always being asked for #43
Comments
I asked for 2FA. But I could not get the code. Is there any problem on my implementation side ? |
Yeah this is a problem because automation is the reason why we are here right. |
Does this apply to everyone? Experiencing the same. Maybe Apple changed how the cookies are handled? #24 mentions that he took stuff from fastlane. @Francescu in case you still have interest in using this - could you look at this for a second? Or maybe give us a hint where you looked for things in the fastlane repo back then? |
It seems like the lib supports cookies, but it doesn't write them out of the box. The What you should do is print In
Go back to your
Voila, no more TFA because you pass the session's cookie :) You should probably handle this via writing JSON from the successCallback to a file or using some |
The cookie passed to the successCallback only seems to be valid for a few hours at most. |
I have now attempted to do the "full" Will see whether that helped tomorrow. Additionally I found some reading material fastlane/fastlane#14301 love the DES5 cookie (was not part of myacinfo) fastlane/fastlane#7600 is also an interesting thing to keep in mind. Will also try to set up a cron job to ping every 10 minutes should that keep the session alive |
Neither using the complete set of cookies, nor pinging every 10 minutes works. The ping worked for a few hours and returned results but after like 4-6 hours it broke down again. Will check if the cookie gets updated somewhere |
Hopefully the last update: https://github.com/andrewstoliarov/iTunesConnectAnalytics seems to work very stable. Andrew did not document the usage so here a small quick start for everyone:
Will ping Andrew to set up as new repo |
@andrewstoliarov do you mind de-forking since this repo here appears to be abandoned? |
@Reiszecke Oh sure. |
Guys If I put this in a automated CI environment, is there any way to get away without entering 2FA code every few days/weeks? |
When I first started using this, I only had to enter code the first time as the readme states, now it is being asked every time I run this. Was wondering if you could look into this!
The text was updated successfully, but these errors were encountered: