Razoth
05/26/2023, 10:00 AMsilentworks
05/26/2023, 10:07 AM0.6.1
for now, we thought we covered all bases and this release wouldn't have been a breaking change but it turns out it is since we moved from implicit
to pkce
auth flow. We are writing some migration guides at the moment.silentworks
05/26/2023, 10:07 AMcallback
url will need to change slightly to accomodate pkce
.Razoth
05/26/2023, 10:31 AMsilentworks
05/26/2023, 10:32 AMRazoth
05/26/2023, 10:39 AMRazoth
05/26/2023, 10:39 AMsilentworks
05/26/2023, 10:42 AMsilentworks
05/26/2023, 2:08 PMRazoth
05/26/2023, 9:24 PMRazoth
05/27/2023, 3:03 PMhttp://localhost:3000/api/auth/callback#access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiO.....
which doesn't relate to const { code } = req.query
Razoth
05/27/2023, 3:04 PMRazoth
05/27/2023, 3:34 PMRazoth
05/27/2023, 3:35 PMsupabaseClient.auth.exchangeCodeForSession()
silentworks
05/27/2023, 3:36 PMRazoth
05/27/2023, 3:53 PM"@supabase/auth-helpers-nextjs": "^0.7.0",
"@supabase/auth-helpers-react": "^0.4.0",
deleted the node_modules and .next folder, installed everything with pnpm, and yeah, i'm at this point now.
updated the functions, reconfigured the redirect url's too ofc.Razoth
05/27/2023, 4:18 PMsilentworks
05/27/2023, 4:23 PMRazoth
05/27/2023, 4:24 PMsilentworks
05/27/2023, 4:25 PMsilentworks
05/27/2023, 4:28 PM@supabasse/supabase-js
rather than @supabase/auth-helpers-nextjs
.silentworks
05/27/2023, 4:31 PMRazoth
05/27/2023, 4:45 PMRazoth
05/27/2023, 4:51 PMjs
import { createPagesBrowserClient } from "@supabase/auth-helpers-nextjs";
export const supabaseBrowserClient = createPagesBrowserClient();
so i don't get some confusion with browser or server client.Razoth
05/27/2023, 4:51 PMRazoth
05/27/2023, 4:52 PMsilentworks
05/27/2023, 4:53 PMRazoth
05/27/2023, 4:57 PMRazoth
05/27/2023, 4:57 PMsilentworks
05/27/2023, 4:59 PMimplicit
flow even though you are using the latest @supabase/auth-helpers-nextjs
which uses the pkce
flow by default.silentworks
05/27/2023, 4:59 PMRazoth
05/27/2023, 5:12 PMsilentworks
05/27/2023, 5:18 PM