I have setup openedx with tutor [version - 15.3.5].
And and mounted the external repo using docker overwrite file. edx-platform repo
Everything works fine except the sso login. It kept showing 401 Unauthorized [url /login_refresh] after redirected from Github. If I disabled mfe plugin, then it works fine.
Here is my plugins to enable github sso.
name: edx-customize
version: 1.0.0
patches:
openedx-lms-production-settings: |
CORS_ORIGIN_WHITELIST.append("{{ MFE_HOST }}")
CORS_ORIGIN_WHITELIST.append("{{ "https://github.com" }}")
CORS_ORIGIN_ALLOW_ALL=True
name: github-oauth
version: 1.0.0
patches:
common-env-features: |
"ENABLE_THIRD_PARTY_AUTH": true
"ENABLE_COMBINED_LOGIN_REGISTRATION": true
lms-env: |
"THIRD_PARTY_AUTH_BACKENDS": ["social_core.backends.github.GithubOAuth2"]