Password reset is the flow users hit at the worst moment, and it is the one most often half-built. The email arrives, the link opens your app, and then nothing happens. Or worse, the user is quietly signed in and never learns they should choose a new password.
This post walks through the full flow with supabase-swift: requesting the email, receiving the link through a custom URL scheme, turning that link into a session, and updating the password. It assumes you already have a Supabase project and a configured SupabaseClient .
How the flow works
Supabase emails the user a link to its own verification endpoint. After verifying the token, Supabase redirects to the URL you passed as redirectTo , and your app receives that URL. Recent supabase-swift versions use PKCE by default, so the redirect carries a code that the SDK exchanges for a session. That session is a real, fully authenticated session, but its purpose is narrow: it exists so the user can choose a new password.…