Skip to content

Commit f231f36

Browse files
authored
[#294] update mozilla-django-oidc-db to 0.21.1 (#302)
1 parent 10a36c1 commit f231f36

File tree

5 files changed

+17
-13
lines changed

5 files changed

+17
-13
lines changed

docker/setup_configuration/data.yaml

+8-6
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ openklant_tokens:
1111

1212
oidc_db_config_enable: true
1313
oidc_db_config_admin_auth:
14-
oidc_rp_client_id: client-id
15-
oidc_rp_client_secret: secret
16-
endpoint_config:
17-
oidc_op_authorization_endpoint: https://example.com/realms/test/protocol/openid-connect/auth
18-
oidc_op_token_endpoint: https://example.com/realms/test/protocol/openid-connect/token
19-
oidc_op_user_endpoint: https://example.com/realms/test/protocol/openid-connect/userinfo
14+
items:
15+
- identifier: admin-oidc
16+
oidc_rp_client_id: client-id
17+
oidc_rp_client_secret: secret
18+
endpoint_config:
19+
oidc_op_authorization_endpoint: https://example.com/realms/test/protocol/openid-connect/auth
20+
oidc_op_token_endpoint: https://example.com/realms/test/protocol/openid-connect/token
21+
oidc_op_user_endpoint: https://example.com/realms/test/protocol/openid-connect/userinfo

docs/installation/setup_configuration.rst

+6-4
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,12 @@ Create or update the (single) YAML configuration file with your settings:
5656
...
5757
oidc_db_config_enable: true
5858
oidc_db_config_admin_auth:
59-
oidc_rp_client_id: client-id
60-
oidc_rp_client_secret: secret
61-
endpoint_config:
62-
oidc_op_discovery_endpoint: https://keycloak.local/protocol/openid-connect/
59+
items:
60+
- identifier: admin-oidc
61+
oidc_rp_client_id: client-id
62+
oidc_rp_client_secret: secret
63+
endpoint_config:
64+
oidc_op_discovery_endpoint: https://keycloak.local/protocol/openid-connect/
6365
...
6466
6567
More details about configuring mozilla-django-oidc-db through ``setup_configuration``

requirements/base.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ maykin-2fa==1.0.1
237237
# via open-api-framework
238238
mozilla-django-oidc==4.0.1
239239
# via mozilla-django-oidc-db
240-
mozilla-django-oidc-db[setup-configuration]==0.20.0
240+
mozilla-django-oidc-db[setup-configuration]==0.21.1
241241
# via
242242
# -r requirements/base.in
243243
# open-api-framework

requirements/ci.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ mozilla-django-oidc==4.0.1
423423
# via
424424
# -r requirements/base.txt
425425
# mozilla-django-oidc-db
426-
mozilla-django-oidc-db[setup-configuration]==0.20.0
426+
mozilla-django-oidc-db[setup-configuration]==0.21.1
427427
# via
428428
# -r requirements/base.txt
429429
# open-api-framework

requirements/dev.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ mozilla-django-oidc==4.0.1
432432
# via
433433
# -r requirements/base.txt
434434
# mozilla-django-oidc-db
435-
mozilla-django-oidc-db[setup-configuration]==0.20.0
435+
mozilla-django-oidc-db[setup-configuration]==0.21.1
436436
# via
437437
# -r requirements/base.txt
438438
# open-api-framework

0 commit comments

Comments
 (0)