enabling oidc
This commit is contained in:
parent
5bad5c3f9a
commit
2522da5535
2 changed files with 6 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -5,3 +5,4 @@ delme*.py
|
|||
*.pyc
|
||||
.env
|
||||
/venv/
|
||||
oidc.key
|
||||
|
|
|
|||
|
|
@ -83,6 +83,11 @@ OAUTH2_PROVIDER = {
|
|||
'introspection': 'Introspect token scope'},
|
||||
'OAUTH2_VALIDATOR_CLASS': 'apps.gooyal_oauth2.validators.OAuth2Validator',
|
||||
# "INTROSPECTION_USER_CREATE_METHOD": 'apps.users.models.create_user_in_introspection',
|
||||
"OIDC_ENABLED": True,
|
||||
# "OIDC_RSA_PRIVATE_KEY": config("OIDC_RSA_PRIVATE_KEY"),
|
||||
# Enable and configure RP-Initiated Logout
|
||||
"OIDC_RP_INITIATED_LOGOUT_ENABLED": True,
|
||||
"OIDC_RP_INITIATED_LOGOUT_ALWAYS_PROMPT": True,
|
||||
}
|
||||
|
||||
# GOOYAL_DYNAMIC_SCOPES
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue