Fix DOC.
This commit is contained in:
parent
253527aa52
commit
1d3350a9b3
4
DOC.md
4
DOC.md
|
@ -181,13 +181,13 @@ OPTIONAL.
|
||||||
##### OIDC_IDTOKEN_SUB_GENERATOR
|
##### OIDC_IDTOKEN_SUB_GENERATOR
|
||||||
OPTIONAL. Subject Identifier. A locally unique and never reassigned identifier within the Issuer for the End-User, which is intended to be consumed by the Client.
|
OPTIONAL. Subject Identifier. A locally unique and never reassigned identifier within the Issuer for the End-User, which is intended to be consumed by the Client.
|
||||||
|
|
||||||
Is just a function that receives a `user` object. Returns a unique string for the given user.
|
Is just a function that receives a `user` object. Returns a unique `string` for the given user.
|
||||||
|
|
||||||
Default is:
|
Default is:
|
||||||
```python
|
```python
|
||||||
def default_sub_generator(user):
|
def default_sub_generator(user):
|
||||||
|
|
||||||
return user.id
|
return str(user.id)
|
||||||
```
|
```
|
||||||
|
|
||||||
##### OIDC_RSA_KEY_FOLDER
|
##### OIDC_RSA_KEY_FOLDER
|
||||||
|
|
Loading…
Reference in a new issue