fixed-Wrong-search-param-in-svelteKit-pkce-guide
This commit is contained in:
Terry Sutton authored and GitHub committed 2023-09-07 09:52:35 -02:30
commit 1acbe054fe
1 file changed
+1 -1
@@ -168,7 +168,7 @@ export const GET = async (event) => {
url,
locals: { supabase }
} = event;
const token_hash = url.searchParams.get('token') as string;
const token_hash = url.searchParams.get('token_hash') as string;
const type = url.searchParams.get('type') as string;
const next = url.searchParams.get('next') ?? '/';