Removing all settings that have OIDC in name (#23251)

* Removing all settings that have OIDC in name

* Removing ENABLE_DOP_ADAPTER

* changes JWT_ISSUER value in devstack
This commit is contained in:
Manjinder Singh
2020-03-04 09:06:29 -05:00
committed by GitHub
parent 44199c3f72
commit 7d2ff9cd3f
14 changed files with 3 additions and 36 deletions

View File

@@ -140,10 +140,8 @@ CC_PROCESSOR = {
########################### External REST APIs #################################
FEATURES['ENABLE_OAUTH2_PROVIDER'] = True
OAUTH_OIDC_ISSUER = 'http://127.0.0.1:8000/oauth2'
FEATURES['ENABLE_MOBILE_REST_API'] = True
FEATURES['ENABLE_VIDEO_ABSTRACTION_LAYER_API'] = True
ENABLE_DOP_ADAPTER = False
########################## SECURITY #######################
FEATURES['ENABLE_MAX_FAILED_LOGIN_ATTEMPTS'] = False
@@ -246,7 +244,7 @@ LOGIN_REDIRECT_WHITELIST = [CMS_BASE]
###################### JWTs ######################
# pylint: disable=unicode-format-string
JWT_AUTH.update({
'JWT_ISSUER': OAUTH_OIDC_ISSUER,
'JWT_ISSUER': 'http://127.0.0.1:8000/oauth2',
'JWT_AUDIENCE': 'lms-key',
'JWT_SECRET_KEY': 'lms-secret',
'JWT_SIGNING_ALGORITHM': 'RS512',