© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
3 replies
Grantly

Magic Link Big Picture

I have been struggling a lot with magic links over the last few days, and before I continue to hack away at solutions, I wanted to make sure I understood their expected behavior (big picture).

If I send a magic link to a user from the UI dashboard (using the magic link button), I would expect the following:
1) User gets redirected to the link I chose...
2) On the client side (the page to which the user was redirect), we can create a Supabase Client -> [ const supabase = createClient(..) ] and then get the user -> [supabase.auth.getUser()]

I am surprised that I don't have to at any point, "log the user in" on the client..? Does the magic link somehow "magically do that"?

Thank you in advance for any help!
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

Magic Link 403
SupabaseSSupabase / help-and-questions
6mo ago
Magic link email
SupabaseSSupabase / help-and-questions
4y ago
Magic Link redirects
SupabaseSSupabase / help-and-questions
4y ago
Local Development + Magic Link
SupabaseSSupabase / help-and-questions
2mo ago