Allow admin to generate auth user sessions #11854
Unanswered
ioucyf
asked this question in
Feature Requests
Replies: 1 comment 4 replies
-
Is it possible to do create a valid user session by generating the JWTs myself using the |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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.
Beta Was this translation helpful? Give feedback.
All reactions