#Convex Auth - Adding custom claims or data into the JWT
4 messages · Page 1 of 1 (latest)
4 messages · Page 1 of 1 (latest)
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?
Convex Auth doesn't have support for custom claims currently, added feature request label.