mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-12 01:45:39 +00:00
Fix third-party auth example
This commit is contained in:
parent
4812bff8bd
commit
f5650d8a29
@ -48,12 +48,12 @@ Enable SAML authentication
|
|||||||
name: saml
|
name: saml
|
||||||
version: 0.1.0
|
version: 0.1.0
|
||||||
patches:
|
patches:
|
||||||
common-env-features: |
|
common-env-features: |
|
||||||
"ENABLE_THIRD_PARTY_AUTH" : true
|
"ENABLE_THIRD_PARTY_AUTH": true
|
||||||
|
|
||||||
openedx-lms-common-settings: |
|
openedx-lms-common-settings: |
|
||||||
# saml special settings
|
# saml special settings
|
||||||
THIRD_PARTY_AUTH_BACKENDS = "third_party_auth.saml.SAMLAuthBackend"
|
AUTHENTICATION_BACKENDS += ["third_party_auth.saml.SAMLAuthBackend", "django.contrib.auth.backends.ModelBackend"]
|
||||||
|
|
||||||
openedx-auth: |
|
openedx-auth: |
|
||||||
"SOCIAL_AUTH_SAML_SP_PRIVATE_KEY": "yoursecretkey",
|
"SOCIAL_AUTH_SAML_SP_PRIVATE_KEY": "yoursecretkey",
|
||||||
|
Loading…
Reference in New Issue
Block a user