Skip to content

Commit

Permalink
🐛[#114] make endpoints required
Browse files Browse the repository at this point in the history
  • Loading branch information
Coperh committed Jul 30, 2024
1 parent aca7802 commit 20f406b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/setup_configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,11 @@ Required:

::

ADMIN_OIDC_DEFAULT_GROUPS
ADMIN_OIDC_OIDC_RP_CLIENT_ID
ADMIN_OIDC_OIDC_RP_CLIENT_SECRET
ADMIN_OIDC_OIDC_OP_AUTHORIZATION_ENDPOINT
ADMIN_OIDC_OIDC_OP_TOKEN_ENDPOINT
ADMIN_OIDC_OIDC_OP_USER_ENDPOINT


All settings:
Expand Down
3 changes: 3 additions & 0 deletions mozilla_django_oidc_db/setupconfig/boostrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ class AdminOIDCConfigurationStep(BaseConfigurationStep):
required_settings = [
"ADMIN_OIDC_OIDC_RP_CLIENT_ID",
"ADMIN_OIDC_OIDC_RP_CLIENT_SECRET",
"ADMIN_OIDC_OIDC_OP_AUTHORIZATION_ENDPOINT",
"ADMIN_OIDC_OIDC_OP_TOKEN_ENDPOINT",
"ADMIN_OIDC_OIDC_OP_USER_ENDPOINT",
]
all_settings = required_settings + [
"ADMIN_OIDC_OIDC_RP_SCOPES_LIST",
Expand Down

0 comments on commit 20f406b

Please sign in to comment.