© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•2mo ago•
40 replies
Luka

Need help with email confirmation auth

auth
Hello, I have a question regarding the "Confirm Email" option in Supabase. I understand that by having it on, user can not log in without the magic link sent to his email. I don't like this workflow since someone could be making the profile on his PC, and receives the link on his phone where they confirm the email, but then they will still be logged out of the main tab since there is no session there.
One of the solutions that came to my mind was disabling the Confirm Email setting and just sending them the Confirmation Email manually after pressing sign up, and using backend middleware to reroute every non confirmed user to the confirmation page, but by disabling the Confirm Email it makes the email_confirmed_at defaulted to NOW(), just as if they confirmed their email as soon as they signed up, meaning I can't use my method.
Basically, my goal is for the session to be created after signing up but while retaining the email confirmation workflow.

Any ideas are welcome:)
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

Spotify Auth - disable email confirmation
SupabaseSSupabase / help-and-questions
8mo ago
I need help with email confirmation & reset email link localhost:3000
SupabaseSSupabase / help-and-questions
3mo ago
Email Confirmation - onAuthStateChange?
SupabaseSSupabase / help-and-questions
4y ago
Confirmation email error
SupabaseSSupabase / help-and-questions
8mo ago