-
Hi, I'm using a google authentication like this :
And it works fine. I'm redirect to the home page When I try to use the redirectTo option like this :
the user is not connected at all after the google auth workflow. I am then redirected from /campaigns to /login It seems correctly configured on supabase also : Any thoughts ? |
Beta Was this translation helpful? Give feedback.
Answered by
hlassiege
May 10, 2024
Replies: 1 comment 2 replies
-
Are you doing this in a SSR framework like NextJS? if yes then the setup is a bit different and there are instructions in the guide here for that https://supabase.com/docs/guides/auth/social-login/auth-google?queryGroups=environment&environment=server&queryGroups=framework&framework=nextjs |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried to deep dive a little bit in the documentation you gave me and indeed, I changed :
and it works !
I don't understand why it worked before but, anyway. Thanks a lot !