Adds Oauth token content, oauth2_provider's token_obj model, and
django-oauth-toolkit-jwt's current_claims as parameters to
JWT_PAYLOAD_ENRICHER. This will give the user more control over the
data that is included in their JWT
Add JWT_PAYLOAD_ENRICHER_OVERWRITE setting (default is
False). Setting this to true will allow the user total control over
the claims included.
content
, oauth2_provider'stoken_obj
model, and django-oauth-toolkit-jwt'scurrent_claims
as parameters toJWT_PAYLOAD_ENRICHER
. This will give the user more control over the data that is included in their JWTJWT_PAYLOAD_ENRICHER_OVERWRITE
setting (default is False). Setting this to true will allow the user total control over the claims included.Fixes #29