Get OIDC_RSA_PRIVATE_KEY from environment.
This commit is contained in:
parent
ee537adc05
commit
b3bf381186
1 changed files with 1 additions and 1 deletions
|
@ -168,11 +168,11 @@ ACCOUNT_USERNAME_REQUIRED = False
|
|||
# OAuth2 configuration
|
||||
OAUTH2_PROVIDER = {
|
||||
"OIDC_ENABLED": True,
|
||||
"OIDC_RSA_PRIVATE_KEY": env.str("OIDC_RSA_PRIVATE_KEY_1"),
|
||||
"SCOPES": {
|
||||
"openid": "OpenID Connect scope",
|
||||
"profile": "Profile Information",
|
||||
},
|
||||
"PKCE_REQUIRED": False, # this can be a callable - https://github.com/jazzband/django-oauth-toolkit/issues/711#issuecomment-497073038
|
||||
}
|
||||
|
||||
# Logging
|
||||
|
|
Loading…
Add table
Reference in a new issue