Add Custom Claims from Auth Hook to useSession() and useUser() #23324
Unanswered
mwolf1989
asked this question in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I Enabled a custom hook using more or less the example from
https://supabase.com/docs/guides/auth/custom-claims-and-role-based-access-control-rbac
I think the way the claims should be used as described here:
https://supabase.com/docs/guides/auth/custom-claims-and-role-based-access-control-rbac#accessing-custom-claims-in-your-application
Is not so convenient to use. Is there any chance to include the claims directly in the useUser() or useSession()
Best Regards
Marcel
All reactions