Skip to content

Commit

Permalink
[#483] use latest configuration format in documentation and example file
Browse files Browse the repository at this point in the history
  • Loading branch information
SonnyBA committed Dec 13, 2024
1 parent 7de377a commit aac56ff
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
14 changes: 8 additions & 6 deletions docker/setup_configuration/data.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
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
4 changes: 3 additions & 1 deletion docs/installation/config_cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ Create or update the (single) YAML configuration file with your settings:
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
...
More details about configuring mozilla-django-oidc-db through ``setup_configuration``
Expand Down

0 comments on commit aac56ff

Please sign in to comment.