From 9859d57ec2a4e0d37c9e072891c17d5e580d0eda Mon Sep 17 00:00:00 2001 From: AbhijeetBiswal Date: Wed, 6 Sep 2023 12:40:57 +0530 Subject: [PATCH] fixed-Wrong-search-param-in-svelteKit-pkce-guide --- .../server-side/email-based-auth-with-pkce-flow-for-ssr.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/pages/guides/auth/server-side/email-based-auth-with-pkce-flow-for-ssr.mdx b/apps/docs/pages/guides/auth/server-side/email-based-auth-with-pkce-flow-for-ssr.mdx index 81bba10258e..9e41fe99ede 100644 --- a/apps/docs/pages/guides/auth/server-side/email-based-auth-with-pkce-flow-for-ssr.mdx +++ b/apps/docs/pages/guides/auth/server-side/email-based-auth-with-pkce-flow-for-ssr.mdx @@ -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') ?? '/';