#Convex Auth - Adding custom claims or data into the JWT

4 messages · Page 1 of 1 (latest)

brazen dawn
#

The goal is to include additional data—such as organizationId and permissions—in the JWT. That way, instead of querying the database on every request to verify a user’s access, we can simply decode the token and check its claims, eliminating an extra database call

how to achieve this?

languid granite
#

Convex Auth doesn't have support for custom claims currently, added feature request label.

scarlet sierra
#

is there any work around for this ?

#

any updates ?