mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-11-15 17:47:13 +00:00
fix: authn login in dev by disabling enterprise integration
In development, login via the authn mfe was broken because of explicit enterprise integration: requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=18000): Max retries exceeded with url: /enterprise/api/v1/enterprise-learner/?username=regis (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fd4c02b8a90>: Failed to establish a new connection: [Errno 111] Connection refused')) See: https://discuss.overhang.io/t/tutor-login-fail-in-new-version/3083
This commit is contained in:
parent
146ec62a0a
commit
23a9914721
1
changelog.d/20221213_102202_regis_dev.md
Normal file
1
changelog.d/20221213_102202_regis_dev.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
- [Bugfix] Fix Authn MFE login in development by disabling enterprise integration. (by @regisb)
|
@ -24,7 +24,11 @@ SESSION_COOKIE_SAMESITE = "Lax"
|
|||||||
# CMS authentication
|
# CMS authentication
|
||||||
IDA_LOGOUT_URI_LIST.append("http://{{ CMS_HOST }}:8001/logout/")
|
IDA_LOGOUT_URI_LIST.append("http://{{ CMS_HOST }}:8001/logout/")
|
||||||
|
|
||||||
FEATURES['ENABLE_COURSEWARE_MICROFRONTEND'] = False
|
FEATURES["ENABLE_COURSEWARE_MICROFRONTEND"] = False
|
||||||
|
|
||||||
|
# Disable enterprise integration
|
||||||
|
FEATURES["ENABLE_ENTERPRISE_INTEGRATION"] = False
|
||||||
|
SYSTEM_WIDE_ROLE_CLASSES.remove("enterprise.SystemWideEnterpriseUserRoleAssignment")
|
||||||
|
|
||||||
LOGGING["loggers"]["oauth2_provider"] = {
|
LOGGING["loggers"]["oauth2_provider"] = {
|
||||||
"handlers": ["console"],
|
"handlers": ["console"],
|
||||||
|
Loading…
Reference in New Issue
Block a user