-
Notifications
You must be signed in to change notification settings - Fork 405
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 : login does not trigger the SMS code send #387
Comments
Is this documented anywhere on https://developer.github.com/? If not, then file a bug with the API because that's the single source of truth for this project. |
Found some traces here: mislav/hub#435 |
Is this documented anywhere on https://developer.github.com/? If not, then file a bug with the API because that's the single source of truth for this project. |
Thanks, Where is the bug tracking for the API? I can't find it |
From https://developer.github.com/v3/
|
Here is the answer: |
@ferllings, since this is "expected behaviour" are you okay with me closing this? |
Yes, I suppose |
When the 2FA is used, the SMS code is not sent, when the login function is executed.
http://github3py.readthedocs.org/en/master/examples/two_factor_auth.html
After some testing with the api, the code is only sent when calling the authorizations url with PUT method:
curl -X PUT -v -u : https://api.github.com/authorizations
The text was updated successfully, but these errors were encountered: