Skip to content

Commit

Permalink
OpenConceptLab/ocl_issues#1338 | added empty client id/secret vars
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Oct 13, 2022
1 parent cf79a02 commit a62223b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/settings.py
Expand Up @@ -400,6 +400,8 @@

# keyCloak/OIDC Provider settings
OIDC_SERVER_URL = os.environ.get('OIDC_SERVER_URL', None)
OIDC_RP_CLIENT_ID = '' # only needed a defined var in mozilla_django_oidc
OIDC_RP_CLIENT_SECRET = '' # only needed a defined var in mozilla_django_oidc
OIDC_SERVER_INTERNAL_URL = os.environ.get('OIDC_SERVER_INTERNAL_URL', '') or OIDC_SERVER_URL
OIDC_REALM = os.environ.get('OIDC_REALM', 'ocl')
OIDC_OP_AUTHORIZATION_ENDPOINT = f'{OIDC_SERVER_URL}/realms/{OIDC_REALM}/protocol/openid-connect/auth'
Expand Down

0 comments on commit a62223b

Please sign in to comment.