From cfbc22d9474cf5f3d17c63cb8d3ad9c78ddc6b63 Mon Sep 17 00:00:00 2001 From: Felix Bartels <1257835+fbartels@users.noreply.github.com> Date: Wed, 8 Apr 2020 08:35:44 +0200 Subject: [PATCH] Add the ability to specify the client_id for external oidc providers --- konnect/wrapper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/konnect/wrapper.sh b/konnect/wrapper.sh index 7a708f5..cc124cc 100755 --- a/konnect/wrapper.sh +++ b/konnect/wrapper.sh @@ -98,7 +98,7 @@ if [ "${external_oidc_provider:-}" = "yes" ]; then yq -y -s '.[0] + .[1]' /etc/kopano/konnectd-identifier-registration.yaml "${identifier_registration_conf:?}" | sponge "$CONFIG_JSON" echo "Patching identifier registration for external OIDC provider" - echo "authorities: [{name: ${external_oidc_name:-}, default: yes, iss: ${external_oidc_url:-}, client_id: kopano-meet, client_secret: ${external_oidc_clientsecret:-}, authority_type: oidc, response_type: id_token, scopes: [openid, profile, email]}]" >> /tmp/authority.yml + echo "authorities: [{name: ${external_oidc_name:-}, default: yes, iss: ${external_oidc_url:-}, client_id: ${external_oidc_clientid:-}, client_secret: ${external_oidc_clientsecret:-}, authority_type: oidc, response_type: id_token, scopes: [openid, profile, email]}]" >> /tmp/authority.yml yq -y -s '.[0] + .[1]' $CONFIG_JSON /tmp/authority.yml | sponge "$identifier_registration_conf" fi