Browse/Clerk/Custom Session Claims
Custom Session Claims
Clerk
$19 · Pro
Read a custom claim from the session token in a backend request.
route.ts
const { isAuthenticated, sessionClaims } = await auth()
Unlock the full snippet
This is a Pro snippet — get all-access for $19, or unlock just this one snippet for $1.
Custom Session Claims — Clerk Example (TypeScript, Node, Python, Go, PHP, Ruby) | apiexamples