Getting trouble with supabase auth with riverpod #4412
Unanswered
salvatorecalo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm getting trouble wth implementing the auth flow in my app with supabase combined with riverpod.
This is the provider the listen the supabase auth events stream:
this is my register form in which user register their account:
I want to know why when a user got registered ui doesn't automatically navigate to home page (If i do an hot restart it works).
When I do a login it works fine and autonavigation works and I do the same thing
I attach down the code of the login button
The Authguard that I pass in home of the material app just do a ref.watch(authSessionProvider) and based on the value redirect to login page if is null or to home page
Thanks to everyone that helps me
Beta Was this translation helpful? Give feedback.
All reactions