Custom claims package
Hi everyone, I'm using this package here for authorization and storing some additional metadata: https://github.com/supabase-community/supabase-custom-claims
The way it is set up it allows users with the
I want something like this but I don't know how to achieve it:
Sorry for tagging you @Mark Burggraf but you seem to be the maintainer of that package.
The way it is set up it allows users with the
claims_admin claim change claims. Now what I want to do is also let my service role update claims. Currently the function looks like this:I want something like this but I don't know how to achieve it:
Sorry for tagging you @Mark Burggraf but you seem to be the maintainer of that package.
GitHub
How to implement custom claims with Supabase. Contribute to supabase-community/supabase-custom-claims development by creating an account on GitHub.