firebase-to-supabase icon indicating copy to clipboard operation
firebase-to-supabase copied to clipboard

User failed to login on supabase

Open louishugens opened this issue 3 years ago • 6 comments

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

louishugens avatar Aug 31 '22 17:08 louishugens

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?

burggraf avatar Dec 28 '22 20:12 burggraf

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

matthiasmyreha avatar Jul 10 '23 12:07 matthiasmyreha

Same issue here

oper2k avatar Oct 30 '23 13:10 oper2k

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.

f-bog avatar Dec 21 '23 06:12 f-bog

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.

idrissdjio avatar Jan 08 '24 06:01 idrissdjio