Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fixed-Wrong-search-param-in-svelteKit-pkce-guide

AbhijeetBiswal9859d57ec2a4
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') ?? '/';