Skip to content

Commit 1acbe05

Browse files
authored
Merge pull request supabase#17194 from AbhijeetBiswalCodes/fixed-Wrong-search-param-in-svelteKit-pkce-guide-#17170
fixed-Wrong-search-param-in-svelteKit-pkce-guide
2 parents 5f18681 + 5966355 commit 1acbe05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/docs/pages/guides/auth/server-side/email-based-auth-with-pkce-flow-for-ssr.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export const GET = async (event) => {
168168
url,
169169
locals: { supabase }
170170
} = event;
171-
const token_hash = url.searchParams.get('token') as string;
171+
const token_hash = url.searchParams.get('token_hash') as string;
172172
const type = url.searchParams.get('type') as string;
173173
const next = url.searchParams.get('next') ?? '/';
174174

0 commit comments

Comments
 (0)