-
Notifications
You must be signed in to change notification settings - Fork 733
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
GitHub 2 factor login #292
Comments
An OAuth token would be the way to go. So either implement the
|
Is there a workflow for application developers to use this? Some code examples of programmatically converting a user/pass combo into an oauth token? Specifically: I need a code example to get an OAuth token in the first place, given that in my code flow i have the username and password. I totally understand how to get a token out of pipeline, stick it in a hidden ~/.github text file, and can see it working. I have no idea how to use the Java code to get that token programmatically. I have an application using Github-api and would be very interested in a tested working example of using 2fa with the provided Java API (or a new API). Adding suggestions to re-parse API calls that the library was designed to interface with leaves me very confused with where to start and how this suggestion fits with the already provided code examples. |
This works as expected. |
I can now confirm that the full 2 factor authentication workflow for requesting a token works. |
The api has no support for 2 factor authentication.
The text was updated successfully, but these errors were encountered: