-
Couldn't load subscription status.
- Fork 694
Closed
Description
Add ability to change jti key name for integration with Auth0 (Auth0 do not add jti to jwt by default and you can't add jti via hooks there).
So access_token['jti'] = require('uuid').v4(); will not work, but access_token['https://domain.com/jti'] = require('uuid').v4(); will add https://domain.com/jti
It can look like:
SIMPLE_JWT = {
...
'JTI_CLAIM': 'https://domain.com/jti',
}
default value: 'jti'
Related question on Auth0 support forum: https://community.auth0.com/t/set-token-exp-jti-in-client-credentials-exchange-hook/6732
Metadata
Metadata
Assignees
Labels
No labels