A user signs up, opens the confirmation email, clicks the button, and lands back on your app with nothing working. The address bar ends in something like #error=access_denied&error_code=otp_expired&error_description=Email+link+is+invalid+or+has+expired . The same thing happens with password reset links, magic links and invites.
I see this a lot in Lovable, Bolt and Vite apps that use Supabase Auth, and the usual reaction is to make the link last longer. That rarely fixes it. In most cases the link didn't expire at all: something else used it first.
Below is how I work out which case it is and what to change. It's based on Supabase's OTP verification failures troubleshooting guide, the Email Templates guide, the Passwordless email logins guide, the Password-based Auth guide and the Auth error codes page, all read on 14 November 2026.
What the error means
Every Supabase email link carries a one-time token.…