Installation
pip install git+https://github.com/groovetch/grvlms-socialoauth
Usage
grvlms plugins enable socialoauth
Configuration
- ::
grvlms socialoauth config -i (Run interactively to config ID azure client and secret key) grvlms socialoauth config -s (Set a configuration value base on format KEY=VAL)
Azure Configuration
- ::
We must to set SOCIALOAUTH_AZURE_CLIENT_ID and SOCIALOAUTH_AZURE_SECRET_KEY variable. (Get them in your azure-portal). (If you don’t have Azure portal account yet, please register at https://azure.microsoft.com/en-us/features/azure-portal)
- Authorized redirect URIs at Azure portal: https://{site_name}/auth/complete/google-oauth2/
(more infomation at https://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/)
Make sure SOCIALOAUTH_ACTIVATE_AZURE is true.
Set ENABLE_AZURE_PICTURE_PROFILE: true if you want to enable edx-azuresso app
Google Configuration
- ::
We must to set SOCIALOAUTH_GOOGLE_CLIENT_ID and SOCIALOAUTH_GOOGLE_SECRET_KEY variable. (Get them in Google API Console). (If you don’t have account yet, please register at https://console.developers.google.com)
- Authorized redirect URIs at Google API Console: https://{site_name}/auth/complete/google-oauth2/
(more infomation at https://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/)
Make sure SOCIALOAUTH_ACTIVATE_GOOGLE is true.
Set ENABLE_GOOGLE_PICTURE_PROFILE: true if you want to enable edx-googlesso app
Finally
- ::
grvlms images build openedx (update Dockerfile)
grvlms local start (If you run on Local ENV)
grvlms socialoauth init (run migration to update Provider Configuration records)
License
This software is licensed under the terms of the AGPLv3.
Metadata
Release files for grvlms-socialoauth 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| grvlms-socialoauth-1.0.3.tar.gz | 5.9 kB | Without provenance | Details for grvlms-socialoauth-1.0.3.tar.gz |
Security for grvlms-socialoauth 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.