Skip to content

Commit

Permalink
[#294] update configuration & documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
SonnyBA committed Dec 4, 2024
1 parent 98e528e commit eae66ec
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docker/setup_configuration/data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ oidc_db_config_admin_auth:
oidc_rp_client_id: client-id
oidc_rp_client_secret: secret
endpoint_config:
oidc_op_discovery_endpoint: https://keycloak.local/protocol/openid-connect/
oidc_op_authorization_endpoint: https://example.com/realms/test/protocol/openid-connect/auth
oidc_op_token_endpoint: https://example.com/realms/test/protocol/openid-connect/token
oidc_op_user_endpoint: https://example.com/realms/test/protocol/openid-connect/userinfo
21 changes: 20 additions & 1 deletion docs/installation/setup_configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ Create a (single) YAML configuration file with your settings:
.. code-block:: yaml
tokens_config_enable: true
tokens_config:
group:
- identifier: token-1
Expand All @@ -46,6 +45,26 @@ Create a (single) YAML configuration file with your settings:
contact_person: Person 2
email: [email protected]
Mozilla-django-oidc-db
----------------------

Create or update the (single) YAML configuration file with your settings:

.. code-block:: yaml
...
oidc_db_config_enable: true
oidc_db_config_admin_auth:
oidc_rp_client_id: client-id
oidc_rp_client_secret: secret
endpoint_config:
oidc_op_discovery_endpoint: https://keycloak.local/protocol/openid-connect/
...
More details about configuring mozilla-django-oidc-db through ``setup_configuration``
can be found at the _`documentation`: https://mozilla-django-oidc-db.readthedocs.io/en/latest/setup_configuration.html.

Execution
=========

Expand Down

0 comments on commit eae66ec

Please sign in to comment.