Closed paulm17 closed 4 months ago
I saw that the endpoints in the gotrue logs where different with each client being used...
Thankfully I'm running gotrue locally from source. I changed the endpoint to match and now it works. So now I know where the issue is 😄
For the endpoints:
auth-js, defaults to / @supabase/ssr, defaults to /auth/v1
Found the issue in supabase-js: https://github.com/supabase/supabase-js/blob/4362b3fb2a2cc93ab56ee253e733e226dcf85d8b/src/SupabaseClient.ts#L76
this.authUrl =
${_supabaseUrl}/auth/v1
Hey @paulm17
Thanks for reporting the issue and reverting back with a fix, going to close now but feel free to revert back if there are still q concerns.
Hey all.
I'm running gotrue locally and after seeding with a user. I'm able to get a response using:
However, when I try @supabase/ssr:
I get the error:
full code: