sessionClaims
missing from useAuth
return
#4822
Labels
needs-triage
A ticket that needs to be triaged by a team member
sessionClaims
missing from useAuth
return
#4822
Preliminary Checks
I have reviewed the documentation: https://clerk.com/docs
I have searched for existing issues: https://github.com/clerk/javascript/issues
I have not already reached out to Clerk support via email or Discord (if you have, no need to open an issue here)
This issue is not a question, general help request, or anything other than a bug report directly related to Clerk. Please ask questions in our Discord community: https://clerk.com/discord.
Reproduction
N/A
Publishable key
N/A
Description
sessionClaims
should be accessible fromuseAuth
according to the docs, but currently aren't. Currently, the the claims (which include custom claims) can be accessed withuseSession().session?.lastActiveToken?.jwt?.claims
but this does not inherit the type override that contains any custom claims.Docs: https://clerk.com/docs/backend-requests/making/custom-session-token#use-the-custom-claims-in-your-application
Environment
The text was updated successfully, but these errors were encountered: