diff --git a/docker/setup_configuration/data.yaml b/docker/setup_configuration/data.yaml index f0e60a6e..ed42429d 100644 --- a/docker/setup_configuration/data.yaml +++ b/docker/setup_configuration/data.yaml @@ -43,3 +43,6 @@ oidc_db_config_admin_auth: 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 + + # workaround for https://github.com/maykinmedia/django-setup-configuration/issues/27 + userinfo_claims_source: id_token diff --git a/docs/installation/config_cli.rst b/docs/installation/config_cli.rst index 4b6590db..c2e8cd49 100644 --- a/docs/installation/config_cli.rst +++ b/docs/installation/config_cli.rst @@ -125,6 +125,9 @@ Create or update the (single) YAML configuration file with your settings: 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 + + # workaround for https://github.com/maykinmedia/django-setup-configuration/issues/27 + userinfo_claims_source: id_token ... More details about configuring mozilla-django-oidc-db through ``setup_configuration``