SupabaseS
Supabaseโ€ข4w ago
ewald

How do I issue a mint JWT with the new asymmetric API keys?

Hi, I didn't find anything in the docs about that. I am a bit confused, because I really like to use the new approach but I cant figure out how to issue a mint service-role key to use it in the services, that still need JWT authentication, like secure edge-functions or the graphql API, I might have missed smth her ๐Ÿ™‚ Right now I create a new user that I apply the
service_role
role to and login with a password to issue a JWT that I then can use for actions where I need the service-role and JWT auth. But this seems actually not right. What would be the best practice to issue a mint JWT to access services? Help is appreciated.
Was this page helpful?