Add Custom Claims from Auth Hook to useSession() and useUser() #23324
mwolf1989
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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
Beta Was this translation helpful? Give feedback.
All reactions