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.
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.
Comments
Similar requests
SDK Support for Listing & Invalidating Auth Sessions
15 votes · 0 comments
Enforce any number sessions per user
3 votes · 0 comments
[Auth] Display user valid sessions and allow to invalidate some or all of them
14 votes · 0 comments
Possibility to manage all active sessions
5 votes · 0 comments
Make session-expiry checks tolerant of client clock skew (derive a server-time offset)
1 vote · 0 comments
No comments yet.