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

Unable to login w/ 2FA enabled #19

Open
dylan-apex opened this issue Mar 21, 2024 · 3 comments
Open

Unable to login w/ 2FA enabled #19

dylan-apex opened this issue Mar 21, 2024 · 3 comments

Comments

@dylan-apex
Copy link

When I run retool login and select "Google SSO" as the login method and after going through the Google authentication, I get this error in the command line: HTTP Request Error: { success: true, message: 'FIDO2 Not Setup' }

After I reset the 2FA in the admin panel and ran retool login again it worked without any issues.

Other notes

  • I've only signed up/logged in with Google SSO, so I have no username/password to login with
  • My 2FA method was a FIDO2 Security Key and nothing else
  • I did not try cookie authentication
@PeteTheHeat
Copy link
Collaborator

Some clarifications:

  • You had 2FA enabled, tried to login via Google SSO, and hit the 'FIDO2 Not Setup' error message.
  • After resetting 2FA, logging in via Google SSO worked, and you were unblocked.

This all correct?

I'm not sure why you hit this, haven't had other reports of this yet.

@dylan-apex
Copy link
Author

dylan-apex commented Mar 21, 2024

Yeah that is correct. To clarify, by "reset" 2FA, I mean that I removed it entirely.

After going through Google OAuth signin, it opens up http://localhost:3020/auth with the access token and xsrf token as params, but the page is already unreachable. Going to the command line it says:

dylan@DESKTOP:~$ retool login
? How would you like to login? Log in using Google SSO in a web browser


HTTP Request Error: { success: true, message: 'FIDO2 Not Setup' }

Failed to make request to https://<domain>.retool.com/api/user.

I re-added my FIDO2 key and was able to recreate this after doing retool logout and retool login

@aldegoeij
Copy link

aldegoeij commented Jul 4, 2024

I have a similar error, have a user with no SSO or Google magical, just username + password + 2FA OTP

getting:

⠧ Verifying Retool DB credentials

HTTP Request Error: { success: true, message: '2FA Challenge' }

Failed to make request to https://space.org.retool.com/api/resources.

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

3 participants