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

User failed to login on supabase #7

Open
louishugens opened this issue Aug 31, 2022 · 5 comments
Open

User failed to login on supabase #7

louishugens opened this issue Aug 31, 2022 · 5 comments

Comments

@louishugens
Copy link

Hello guys,

First of all, thanks a lot for this really helpful guide. Well, i manage to migrate the users to supabase but they failed to authenticate. How do i use this guide effectively? Thanks

@burggraf
Copy link
Collaborator

Do you get an error message or can you provide any more information on the error you're getting? Have you tried resetting the user's password?

@matthiasmyreha
Copy link

Having the same issue. After I imported the users into supabase and tried to login with one using the firebase email/password combination I'm getting an "invalid login credentials" error.

I saw that the password is never set in createUser() in import_users.ts (see this line). Can you extend the guide on how and when the passwords are copied?

Thank you

@oper2k
Copy link

oper2k commented Oct 30, 2023

Same issue here

@f-bog
Copy link

f-bog commented Dec 21, 2023

Yeah would really like to get some input on this. Failing authentication. I am adding the encrypted passwords in the line mentioned by @matthiasmyreha, but still no luck.

@idrissdjio
Copy link

I am facing the same issue. After debugging, I noticed that the user firebaseAuth data stores the passwords in Hash encryption while Supabase only supports bcrypt. I tried to convert the passwords from JSON into bcrypt format using a couple of alternative but still didn't work.

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

6 participants