Created
September 15, 2020 18:29
-
-
Save d-demirci/f0517e9f04be73ef7c06c06c86cf6fff to your computer and use it in GitHub Desktop.
keycloak tutor openedx plugin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: keycloak | |
version: 0.1.0 | |
patches: | |
common-env-features: | | |
"ENABLE_THIRD_PARTY_AUTH": true | |
openedx-lms-common-settings: | | |
SOCIAL_AUTH_KEYCLOAK_KEY = 'educasual' | |
SOCIAL_AUTH_KEYCLOAK_SECRET = '7c81d36a-bec9-4833-931c-64baab674283' | |
SOCIAL_AUTH_KEYCLOAK_PUBLIC_KEY = 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAjyq0SjRVvMaoHDeB4AcyBmWNNLe36ibopb/8cgXwPIPtphX50MepMK5Xmne1euS6I8ZWPGJl3DNtK215AMUKoy87BSJX5o26RQx8d0M+WTvnw6EVLaskeJSiXu4WkYka2Ou+cc6mkyMMtDnkFybbjFFFdMOkDPSyCMEfakHH2b/es+6KBkIC+yqmigDy/S26rsVX5A7kFUP7QUGBPJqwOVQjyd9JaebQlxwN300NlWme2wZrypXOxWraPmpMsWlZVEtniqO+gtOT+ko41VQospwrsJSfSX05ch25WNIsDhOPNhfYOpdFDviHEiXMjtMm+XTLr0qfzVDdYEyJnmG7XwIDAQAB' | |
SOCIAL_AUTH_KEYCLOAK_AUTHORIZATION_URL = 'http://keycloak.nubidus.com/auth/realms/openedx/protocol/openid-connect/auth' | |
SOCIAL_AUTH_KEYCLOAK_ACCESS_TOKEN_URL = 'http://keycloak.nubidus.com/auth/realms/openedx/protocol/openid-connect/token' | |
SOCIAL_AUTH_KEYCLOAK_ID_KEY = 'email', | |
SOCIAL_AUTH_OAUTH_SECRETS= { "keycloak": "7c81d36a-bec9-4833-931c-64baab674283" } | |
lms-env: | | |
"THIRD_PARTY_AUTH_BACKENDS":[ | |
"social_core.backends.keycloak.KeycloakOAuth2", | |
"social_core.backends.google.GoogleOAuth2", | |
"social_core.backends.linkedin.LinkedinOAuth2" | |
] | |
openedx-auth: | | |
"keycloak": "7c81d36a-bec9-4833-931c-64baab674283" | |
# tutor plugins install keycloak.yml | |
# tutor plugins enable keycloak | |
# tutor config save | |
# tutor local reboot -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment