From f5650d8a29bc87d5f1dbc54fd3c46e5838fab18c Mon Sep 17 00:00:00 2001 From: Michael Wheeler Date: Thu, 19 Aug 2021 14:31:35 -0400 Subject: [PATCH] Fix third-party auth example --- docs/plugins/examples.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/plugins/examples.rst b/docs/plugins/examples.rst index beab509..6bdab38 100644 --- a/docs/plugins/examples.rst +++ b/docs/plugins/examples.rst @@ -48,12 +48,12 @@ Enable SAML authentication name: saml version: 0.1.0 patches: - common-env-features: | - "ENABLE_THIRD_PARTY_AUTH" : true + common-env-features: | + "ENABLE_THIRD_PARTY_AUTH": true - openedx-lms-common-settings: | + openedx-lms-common-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: | "SOCIAL_AUTH_SAML_SP_PRIVATE_KEY": "yoursecretkey",