From 07678eb13cfb3770acdafc34dd3bd7acee7d2346 Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Wed, 4 Dec 2024 12:16:25 +0100 Subject: [PATCH] [#294] update configuration & documentation --- docker/setup_configuration/data.yaml | 4 +++- docs/installation/setup_configuration.rst | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/docker/setup_configuration/data.yaml b/docker/setup_configuration/data.yaml index b82645bf..062db930 100644 --- a/docker/setup_configuration/data.yaml +++ b/docker/setup_configuration/data.yaml @@ -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 diff --git a/docs/installation/setup_configuration.rst b/docs/installation/setup_configuration.rst index 2110f1aa..2e81d813 100644 --- a/docs/installation/setup_configuration.rst +++ b/docs/installation/setup_configuration.rst @@ -45,6 +45,26 @@ Create a (single) YAML configuration file with your settings: contact_person: Person 2 email: person-2@example.com + +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 =========