© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•2w ago•
12 replies
akram

Supabase Reset Password flow for Next.js

🟢SSRauth
i have next.js app with supabase handling auth. I want to reset-passsword without getting user authenticated or letting people know that are authenticated to mess up via changing the route in url.

i have forget-password form and server action which create redirectTo link, and on reset-password form i have exchanging the code which creates session & hydrates my store. On reset server action I am updating password.

Issue is to handle reset-password flow wihout creating session or allowing users to use app other than reset-password action.
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Reset user password Flutter / Next.js / Supabase
SupabaseSSupabase / help-and-questions
13mo ago
Expected reset password flow
SupabaseSSupabase / help-and-questions
2w ago
Password Reset PKCE Flow
SupabaseSSupabase / help-and-questions
13mo ago
Expo redirect for reset password flow
SupabaseSSupabase / help-and-questions
6mo ago