What Are JWT Private Claims

JWT private claims are custom fields you can add to a JSON Web Token for specific application needs. Unlike reserved claims (like exp or sub), private claims don't have predefined meanings. They allow developers to include application-specific data in tokens.

Common JWT Private Claims Examples

Here are typical private claims patterns:

- `user_role`: Store user permissions ("admin\