-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
67 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
========================== | ||
Django Setup Configuration | ||
========================== | ||
|
||
There is optional support for ``django-setup-configuration`` that must be installed with | ||
|
||
.. code-block:: bash | ||
pip install mozilla-django-oidc-db[setupconfig] | ||
You must define the required django settings mentioned below and and put the ``AdminOIDCConfigurationStep`` | ||
in your django-setup-configuration steps: | ||
|
||
.. code-block:: python | ||
SETUP_CONFIGURATION_STEPS = [ | ||
... | ||
"mozilla_django_oidc_db.setupconfig.bootstrap.auth.AdminOIDCConfigurationStep", | ||
... | ||
] | ||
Environment Variables | ||
=============================== | ||
|
||
Required | ||
-------- | ||
|
||
* ``ADMIN_OIDC_OIDC_RP_CLIENT_ID`` | ||
* ``ADMIN_OIDC_OIDC_RP_CLIENT_SECRET`` | ||
|
||
|
||
Optional | ||
-------- | ||
|
||
|
||
* ``ADMIN_OIDC_OIDC_RP_SCOPES_LIST`` | ||
* ``ADMIN_OIDC_OIDC_RP_SIGN_ALGO`` | ||
* ``ADMIN_OIDC_OIDC_RP_IDP_SIGN_KEY`` | ||
* ``ADMIN_OIDC_OIDC_OP_DISCOVERY_ENDPOINT`` | ||
* ``ADMIN_OIDC_OIDC_OP_JWKS_ENDPOINT`` | ||
* ``ADMIN_OIDC_OIDC_OP_AUTHORIZATION_ENDPOINT`` | ||
* ``ADMIN_OIDC_OIDC_OP_TOKEN_ENDPOINT`` | ||
* ``ADMIN_OIDC_OIDC_OP_USER_ENDPOINT`` | ||
* ``ADMIN_OIDC_USERNAME_CLAIM`` | ||
* ``ADMIN_OIDC_GROUPS_CLAIM`` | ||
* ``ADMIN_OIDC_CLAIM_MAPPING`` | ||
* ``ADMIN_OIDC_SYNC_GROUPS`` | ||
* ``ADMIN_OIDC_SYNC_GROUPS_GLOB_PATTERN`` | ||
* ``ADMIN_OIDC_DEFAULT_GROUPS`` | ||
* ``ADMIN_OIDC_MAKE_USERS_STAFF`` | ||
* ``ADMIN_OIDC_SUPERUSER_GROUP_NAMES`` | ||
* ``ADMIN_OIDC_OIDC_USE_NONCE`` | ||
* ``ADMIN_OIDC_OIDC_NONCE_SIZE`` | ||
* ``ADMIN_OIDC_OIDC_STATE_SIZE`` | ||
* ``ADMIN_OIDC_OIDC_EXEMPT_URLS`` | ||
* ``ADMIN_OIDC_USERINFO_CLAIMS_SOURCE`` |
This file contains 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