Replies: 1 comment 1 reply
-
Hey @KyleHu14 I was able to fix this with Remix. Are you still looking for an answer for this? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to implement basic oAuth login with supabase and am running into the issue of getUser returning null after going through the google oAuth flow.
The code in question can be found in this repo : Link.
I followed the nextjs server auth tutorial. All I changed from the code that was given was the login function in ./client/src/app/login/actions.tsx where I used signInWithOAuth rather than the signin function. After going through the oauth flow, I get redirected to localhost:3000/dashboard but user is null.
Is there something I'm missing or doing wrong? Any help would be appreciated and ty in advance.
I have middleware initialized, I am creating a server client in ./src/utils/supabase/server.ts.
Beta Was this translation helpful? Give feedback.
All reactions