Files
supabase/apps/docs/content
T.K ef656ff753 docs(auth): update PKCE flow and Next.js example for password-based auth (#29971)
* docs(auth): update PKCE flow and Next.js example for password-based auth

Update the password-based authentication documentation to improve consistency and clarity:

- Add email redirect information to PKCE flow, mirroring the Implicit flow section
- Align the Next.js example in app/auth/confirm/route.ts with the official Supabase documentation for server-side auth in Next.js
- Update email template to include 'next' parameter for better redirect handling
- Improve error handling and redirect logic in the Next.js example

These changes aim to provide a more comprehensive and consistent guide for implementing password-based authentication, especially for Next.js applications using the PKCE flow.

Ref: https://supabase.com/docs/guides/auth/server-side/nextjs

* fix(docs): format email confirmation link and update sign-up function example
2024-11-14 20:58:23 +00:00
..