Email confirmation triggers confirm/route.js twice everytime #23452
Labels
auth
All thing Supabase Auth related
bug
Something isn't working
cannot-reproduce
Unable to reproduce the opener's problem after attempts to replicate
Bug report
Describe the bug
Every time I click my confirmation email link sent to me via Auth signup the custom auth/confirm/route.js, which is a copy of the code you provide in your documentation, runs twice. The first pass successfully processes but since the second call is also running that one fails and often triggers the reroute to the error page before the first call can rerout to the success page.
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Expected behavior
A clear and concise description of what you expected to happen.
I expect it would only run once and not error.
Screenshots
If applicable, add screenshots to help explain your problem.
System information
Additional context
I don't have any strictmode values set true
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: