FeatureFuel
4

Allow admin to generate auth user sessions

Source: supabase/supabase#11854 · opened by @ioucyf
I'm trying to use the WebAuthn API with supabase as one of the primary sign-in options on my web client; since it's not yet officially supported by supabase, I'm writing a custom API to handle the registration and verification of the user's authenticator.

However, while using supabase's admin client with the service role key on the server API, I have no way of generating a valid session, for that specific user after confirming that the user's authenticator key is in fact valid, to return it to the client; to be set as the new session via: (supabase.auth.setSession(<received new session>)).

... or is there? I don't know...

Please make it possible to do so.

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests