From f231f368c48276ffe429fb7e3105b0ce9f0eb444 Mon Sep 17 00:00:00 2001 From: SonnyBA Date: Tue, 10 Dec 2024 16:45:57 +0100 Subject: [PATCH] [#294] update mozilla-django-oidc-db to `0.21.1` (#302) --- docker/setup_configuration/data.yaml | 14 ++++++++------ docs/installation/setup_configuration.rst | 10 ++++++---- requirements/base.txt | 2 +- requirements/ci.txt | 2 +- requirements/dev.txt | 2 +- 5 files changed, 17 insertions(+), 13 deletions(-) diff --git a/docker/setup_configuration/data.yaml b/docker/setup_configuration/data.yaml index 062db930..172e2446 100644 --- a/docker/setup_configuration/data.yaml +++ b/docker/setup_configuration/data.yaml @@ -11,9 +11,11 @@ openklant_tokens: 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_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 + items: + - identifier: admin-oidc + oidc_rp_client_id: client-id + oidc_rp_client_secret: secret + endpoint_config: + 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 f9f7dad6..d59ee5a9 100644 --- a/docs/installation/setup_configuration.rst +++ b/docs/installation/setup_configuration.rst @@ -56,10 +56,12 @@ Create or update the (single) YAML configuration file with your settings: ... 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/ + items: + - identifier: admin-oidc + 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`` diff --git a/requirements/base.txt b/requirements/base.txt index eb1b66ea..db44ad48 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -237,7 +237,7 @@ maykin-2fa==1.0.1 # via open-api-framework mozilla-django-oidc==4.0.1 # via mozilla-django-oidc-db -mozilla-django-oidc-db[setup-configuration]==0.20.0 +mozilla-django-oidc-db[setup-configuration]==0.21.1 # via # -r requirements/base.in # open-api-framework diff --git a/requirements/ci.txt b/requirements/ci.txt index 701e1449..ec0691e5 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -423,7 +423,7 @@ mozilla-django-oidc==4.0.1 # via # -r requirements/base.txt # mozilla-django-oidc-db -mozilla-django-oidc-db[setup-configuration]==0.20.0 +mozilla-django-oidc-db[setup-configuration]==0.21.1 # via # -r requirements/base.txt # open-api-framework diff --git a/requirements/dev.txt b/requirements/dev.txt index b0d9d6c7..ea29fa21 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -432,7 +432,7 @@ mozilla-django-oidc==4.0.1 # via # -r requirements/base.txt # mozilla-django-oidc-db -mozilla-django-oidc-db[setup-configuration]==0.20.0 +mozilla-django-oidc-db[setup-configuration]==0.21.1 # via # -r requirements/base.txt # open-api-framework