Skip to content
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

How to specify OTP token when calling "gcli auth create"? (MFA) #40

Open
slavafomin opened this issue Oct 26, 2019 · 2 comments
Open

How to specify OTP token when calling "gcli auth create"? (MFA) #40

slavafomin opened this issue Oct 26, 2019 · 2 comments

Comments

@slavafomin
Copy link

Hello!

Thank you for this great tool!

However, is there a way to specify OTP token when calling gcli auth create? I'm using two-factor authentication on my GitHub account.

Here's the related documentation from GitHub:
Using the OAuth Authorizations API with two-factor authentication

Thanks!

@piotrmurach
Copy link
Owner

Hi Slava,

Thanks for your interest in this gem. The github_cli hasn't been released in years and I have just recently finished rewriting it. Unfortunately, 2FA isn't supported in this gem as of yet. I'd be really happy to accept PR implementing it. You can use Two Factor as a starting point. Thanks!

@slavafomin
Copy link
Author

@piotrmurach thank you for your effort. As much as I would like to help, I'm not familiar with Ruby. I hope someone more suitable for this stack would be able to lend a hand here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants