18
Support API key generation
Source: supabase/supabase#12328 · opened by @FelixZY
Feature request Please support generating user-tied API keys via supabase-js/GoTrue Is your feature request related to a problem? Please describe. I'm developing an open API. Users can sign into a web portal and generate API tokens to be used when communicating with the API. Users can generate multiple tokens, e.g. if they want to use different keys for Android and iOS client applications and track their usage separately. Currently, I can find no good way of generating such tokens/API keys without exposing secrets or breaking RLS. Describe the solution you'd like It should be possible to create an "authorized token"/"api key"/other static string for signed in users. Such tokens could be stored in an access_tokens(user_id uuid, access_token varchar, created_at timezonetz) table in the auth schema. This token should then be possible to supply in the request header instead of a jwt when accessing supabase. Queries using this token should be…
No pledges yet. Be the first to back this.
Comments
Similar requests
Adding custom API keys with selectable Postgres role for backend components
1 vote · 0 comments
A way to specify user authentication strategy
1 vote · 0 comments
API Docs generation for custom schemas which are exposed to the API
3 votes · 0 comments
Allow generation of Typescript types with camel case keys
17 votes · 0 comments
Make Apple provider Secret Key optional for native-only Sign in with Apple
6 votes · 0 comments
No comments yet.