github_cli
github_cli copied to clipboard
How to specify OTP token when calling "gcli auth create"? (MFA)
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!
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!
@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.