-
Notifications
You must be signed in to change notification settings - Fork 488
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
rbh.authentication.login (username="....", password="....", mfa_code=totp) started failing on Dec 17 #521
Comments
This was fixed recently, you need to pull the repo manually instead of using the package. The package was not updated ‘’’ echo "🍺 Installing Robin-Stocks in editable mode..." |
Did just that. This is how I login:
but now I get a different error:
?? |
I use TOTP, here's my code if you want to try:
|
This is currently working fine for me |
Thank you so much, @mitch-zink! Your proposed solution works for me too, and I am using TOTP. |
You're welcome, glad it's working for you |
@mitch-zink from where we can get the mfa_key please ? its from the 2FA setting in robinhood website ? |
Click Two-Factor Authentication, Authenticator app, then follow the steps to use the MFA key you get to generate the TOTP/MFA pin like I did above |
@mitch-zink thank you will try this. |
Hello @helhadry , Try logging in using the MFA as described here https://robin-stocks.readthedocs.io/en/latest/quickstart.html#with-mfa-entered-programmatically-from-time-based-one-time-password-totp
|
@mitch-zink @emmanuelsalawu thank you for your help. I tried to add the 2FA and selected the authentication app (Google authentication) but I can see only the backup code, where I can get the secret key (My2factorAppHere) ? |
You can get it from the Robinson App or on the website. Kindly re-read the
instructions in the link I shared earlier. Go to Securityand Privacy —> Two
Factor Authentication. I can record a short screencast to share with you
when I get to my computerin case you still cannot find it.
…On Fri, Dec 20, 2024 at 10:09 AM Hamza EL HADRY ***@***.***> wrote:
@mitch-zink <https://github.com/mitch-zink> @emmanuelsalawu
<https://github.com/emmanuelsalawu> thank you for your help.
I tried to add the 2FA and selected the authentication app (Google
authentication) but I can see only the backup code, where I can get the
secret key (My2factorAppHere) ?
—
Reply to this email directly, view it on GitHub
<#521 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATJU7B5ODXKFPGDVSH3BWXT2GRMNPAVCNFSM6AAAAABT2NV7EGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJXGQ4DOMZRGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Yes I already did that but now I have only the 6 digits generated by Google authenticator app and If I put this code in the robin login it works fine, but I want to have something automatic to create that code without any human interaction. thank you so much @emmanuelsalawu for your help on this. |
The “My2factorAppHere” is provided by the Robinhood App or the Robinhood
Website. Use the python code as if it is the Authenticator. You do NOT need
the Google Authenticator to complete the entire process. Repeat the process
you did before now replace the Google Authenticator with the Python code.
…On Fri, Dec 20, 2024 at 12:53 PM Hamza EL HADRY ***@***.***> wrote:
Yes I already did that but now I have only the 6 digits generated by
Google authenticator app and If I put this code in the robin login it works
fine, but I want to have something automatic to create that code without
any human interaction.
the code that you suggest t to uses the "My2factorAppHere" and after that
uses pyotp library to generate the otp code to use but I don't see where I
can find that "My2factorAppHere".
thank you so much @emmanuelsalawu <https://github.com/emmanuelsalawu> for
your help on this.
—
Reply to this email directly, view it on GitHub
<#521 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATJU7BY6N45Y4XEPXQGMLU32GR7V5AVCNFSM6AAAAABT2NV7EGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJXG4YDENJSGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Robinhood Authentication through MFA as described here https://robin-stocks.readthedocs.io/en/latest/quickstart.html#with-mfa-entered-programmatically-from-time-based-one-time-password-totp was working until Dec 17. I have tried multiple times but unsuccessful. Is anyone experiencing a similar issue?
The error message is not very helpful.
I tried to print what
data
contains and obtained the following. (Note:data = request_post(url, payload)
within therobin_stocks/robinhood/authentication.py
).{'verification_workflow': {'id': '***5d74a-****-****-9721-cb00a6d69***', 'workflow_status': 'workflow_status_internal_pending'}}
Could it be that the
'client_id': 'c82SH0WZOsabOXGP2sxqcj34FxkvfnWRZBKlBjFS',
used in thepayload
used for authentication (within therobin_stocks/robinhood/authentication.py
file) is no longer allowed by robinhood?Any help will be greatly appreciated. Thank you.
The text was updated successfully, but these errors were encountered: