Skip to main content

JWE Encryption

Enable JWE by setting JWT_ENABLE_JWE=true in your .env file.

Example

from python_json_rbac.core import create_token
# With JWE enabled, tokens will be encrypted automatically.