Hi Mina, I’m trying to sync bubble and supabase auth without success. The problem is password reset - if the user is authorized in bubble and supabase and they go to change their password, bubble requires a password reset link and as far as I can see there is no update password field action for the supabase plugin so that I can update a password for a user based on their email address. You can only reset password either on bubble only or supabase only once at a time. How do you suggest doing the syncing?
Hi @arensbpa ,
Thanks for getting back to us and explaining the situation!
From what I understand, once the user receives the password reset link via email and follows it, they’ll be redirected to the URL specified in your Supabase project settings. After they update their password on the Bubble side, they should be logged out of Supabase automatically.
At that point, the user can simply log in again with the new password, and everything should remain in sync between Bubble and Supabase.
So essentially, the sync happens through the logout/login flow after the password change.
Looking forward to your reply.
Best regards,
Support Team
Browse all Zeroqode Plugins for bubble
Hi @mina.rotari thanks for getting back to me! I only want to send one password reset email. It would be crazy to require the user to open 2 emails (one from bubble and one from supabase). I assume we’re on the same page about that - so you’re saying to use the supabase “Send password reset request SupabaseAuth A” instead of the the bubble “Send password reset email” action and in that action you’d redirect them to your password reset page in your bubble app. This would allow me to reset their supabase password. But since the user is not logged into their bubble account, I cannot update their bubble password. So their bubble and supabase passwords are not in sync.
If I were to use just the bubble “Send password reset email” action and they were logged out of supabase, I’d have no way of syncing up the new password with a supabase account because the update user auth > new password field would only work if they were already logged into supabase.
What am I missing?