ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabaseโ€ข6mo agoโ€ข
10 replies
oli

E-mail sign in vs Magic link - the user object

Hello,
I'm trying to add Magic link sign in to my app, however a session created from a magic link does not contain the user object and therefore I can't get user ID (from auth.users) which my app needs. Here's an example:

og.error { "Fetch test: session: ${supabaseClient.auth.currentSessionOrNull()}" } 
og.error { "Fetch test: session: ${supabaseClient.auth.currentSessionOrNull()}" } 
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

Problem handling magic link sign in
SupabaseSSupabase / help-and-questions
4y ago
Logged in using E-Mail magic link, not 'refreshing' the session using Arc browser
SupabaseSSupabase / help-and-questions
4y ago
Sign in with Magic Link React Native
SupabaseSSupabase / help-and-questions
4y ago
Error:"e-mail sign ups is disabled''
SupabaseSSupabase / help-and-questions
2mo ago