Extended description of OIDC_IDTOKEN_PROCESSING_HOOK
This commit is contained in:
parent
dba525eff9
commit
d69828b8db
1 changed files with 9 additions and 1 deletions
|
@ -96,7 +96,15 @@ OIDC_IDTOKEN_PROCESSING_HOOK
|
|||
============================
|
||||
|
||||
OPTIONAL. ``str``. A string with the location of your function hook.
|
||||
here you can add extra dictionary values specific for your app into id_token.
|
||||
Here you can add extra dictionary values specific for your app into id_token.
|
||||
|
||||
The function receives a ``id_token`` dictionary and returns it with additional fields.
|
||||
|
||||
Default is::
|
||||
|
||||
def default_idtoken_processing_hook(id_token):
|
||||
|
||||
return return id_token
|
||||
|
||||
OIDC_IDTOKEN_SUB_GENERATOR
|
||||
==========================
|
||||
|
|
Loading…
Reference in a new issue