An Open edX Python Social Auth backend for Wordpress
Project description
Overview
Usage
1. Add this package to your project’s requiremets
Add this project to extra pip requirements.
OPENEDX_EXTRA_PIP_REQUIREMENTS:
- git+https://github.com/blend-ed/auth0-oauth2-backend.git
2. Configure your Open edX lms application
from tutor import hooks
hooks.Filters.ENV_PATCHES.add_items(
[
(
"openedx-common-settings",
"""
AUTH0_DOMAIN = <YOUR_AUTH0_DOMAIN>
AUTH0_AUDIENCE = <YOUR_AUTH0_AUDIENCE>
""",
),
(
"lms-env",
"""
THIRD_PARTY_AUTH_BACKENDS: ["auth0_oauth2.auth0.Auth0OAuth2","social_core.backends.google.GoogleOAuth2", "common.djangoapps.third_party_auth.saml.SAMLAuthBackend", "django.contrib.auth.backends.ModelBackend"]
SOCIAL_AUTH_AUTH0_PLUGIN_FIELDS_STORED_IN_SESSION:
- "auth_entry"
ADDL_INSTALLED_APPS:
- "auth0_oauth2"
"""
),
(
"common-env-features",
"""
ENABLE_THIRD_PARTY_AUTH: true
"""
)
]
)
3. Configure your Auth0 provider configurations
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file auth0_oauth2_backend-1.0.0.tar.gz
.
File metadata
- Download URL: auth0_oauth2_backend-1.0.0.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2dc758b80107953df3d1ec34a74a25e03716ef12797a20851ccc317bf76769ca |
|
MD5 | 994acb1d5a72561cded0f6cc10da7a85 |
|
BLAKE2b-256 | d226e6437f6ef9c94a2bdb792670abe7b041979b46c5c7aa41c3c99cb6a37991 |
File details
Details for the file auth0_oauth2_backend-1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: auth0_oauth2_backend-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a47c4752eb89ccd7a11ec8ef90e0c6a9fd2cb9f28be2a53985d504e475667e3d |
|
MD5 | cfe5032ceb99ff67d6a2750ecbb59bcf |
|
BLAKE2b-256 | fbbb22443de0238692bca0b2290cc371353667ad8ffad2607742d51de7815380 |