Added OIDC_ID_TOKEN_PROCESSING_HOOK functionality
This commit is contained in:
parent
22c53abd63
commit
7a357001b6
7 changed files with 55 additions and 9 deletions
|
@ -44,6 +44,8 @@ def create_id_token(user, aud, nonce):
|
|||
if nonce:
|
||||
dic['nonce'] = str(nonce)
|
||||
|
||||
dic = settings.get('OIDC_ID_TOKEN_PROCESSING_HOOK', import_str=True)(dic)
|
||||
|
||||
return dic
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue