SupabaseS
Supabase12mo ago
Nander

Sign in user without a password

Hey y'all.
I'm currently experimenting with Passkeys. Given I know that someone is a user without knowing their password, how should I sign in that person? I thought about either signing a custom JWT (though I don't know the format that Supabase expects) or creating a magic "email" link and redirect the user to that (though it looks like I can't generate those links without sending it to an email). Does one of those two methods make sense or is there a whole other easier way?
Thank you for your attention :verynicecat:
Was this page helpful?