From 467498946102a4780e81e2d203caff13ed28e521 Mon Sep 17 00:00:00 2001 From: syed salman Date: Sat, 20 Jan 2024 00:25:20 +0530 Subject: [PATCH] [MOSIP-30473] updated keycloak-init deployment script Signed-off-by: syed salman --- helm/signup-service/keycloak-init-values.yaml | 14 +++++++------- helm/signup-service/keycloak-init.sh | 1 - 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/helm/signup-service/keycloak-init-values.yaml b/helm/signup-service/keycloak-init-values.yaml index 5c87f500..acfb5d5a 100644 --- a/helm/signup-service/keycloak-init-values.yaml +++ b/helm/signup-service/keycloak-init-values.yaml @@ -1,5 +1,5 @@ keycloak: - realms: |- + realms: mosip: # realm roles: - PARTNER_ADMIN @@ -25,7 +25,7 @@ keycloak: - name: add_oidc_client description: Scope required to create OIDC client protocol: openid-connect - Include In Token Scope : on + "Include In Token Scope": on attributes: { display.on.consent.screen: "false", include.in.token.scope: "true" @@ -33,7 +33,7 @@ keycloak: - name: update_oidc_client description: '' protocol: openid-connect - Include In Token Scope : on + "Include In Token Scope": on attributes: { display.on.consent.screen: "false", include.in.token.scope: "true" @@ -41,7 +41,7 @@ keycloak: - name: get_certificate description: Scope required to create OIDC client protocol: openid-connect - Include In Token Scope : on + "Include In Token Scope": on attributes: { display.on.consent.screen: "false", include.in.token.scope: "true" @@ -49,7 +49,7 @@ keycloak: - name: upload_certificate description: '' protocol: openid-connect - Include In Token Scope : on + "Include In Token Scope": on attributes: { display.on.consent.screen: "false", include.in.token.scope: "true" @@ -57,7 +57,7 @@ keycloak: - name: sending_binding_otp description: Scope required to create OIDC client protocol: openid-connect - Include In Token Scope : on + "Include In Token Scope": on attributes: { display.on.consent.screen: "false", include.in.token.scope: "true" @@ -65,7 +65,7 @@ keycloak: - name: wallet_binding description: '' protocol: openid-connect - Include In Token Scope : on + "Include In Token Scope": on attributes: { display.on.consent.screen: "false", include.in.token.scope: "true" diff --git a/helm/signup-service/keycloak-init.sh b/helm/signup-service/keycloak-init.sh index 4dc415fa..80166785 100755 --- a/helm/signup-service/keycloak-init.sh +++ b/helm/signup-service/keycloak-init.sh @@ -45,7 +45,6 @@ kubectl -n $NS delete secret --ignore-not-found=true keycloak-client-secrets helm -n $NS delete signup-keycloak-init helm -n $NS install signup-keycloak-init mosip/keycloak-init \ -f keycloak-init-values.yaml \ ---set frontend=https://$IAMHOST_URL/auth \ --set clientSecrets[0].name="$PMS_CLIENT_SECRET_KEY" \ --set clientSecrets[0].secret="$PMS_CLIENT_SECRET_VALUE" \ --set clientSecrets[1].name="$MPARTNER_DEFAULT_AUTH_SECRET_KEY" \