diff --git a/docker/setup_configuration/data.yaml b/docker/setup_configuration/data.yaml index 3f749af4..f723d8dc 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 d26f3ca8..73360455 100644 --- a/docs/installation/setup_configuration.rst +++ b/docs/installation/setup_configuration.rst @@ -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 @@ -46,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 =========