Skip to content

Commit

Permalink
Merge pull request #20 from syedsalman3753/ES-498
Browse files Browse the repository at this point in the history
[MOSIP-30473] updated keycloak-init deployment script
  • Loading branch information
ckm007 authored Jan 22, 2024
2 parents a8a5956 + 4674989 commit 065e6e1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
14 changes: 7 additions & 7 deletions helm/signup-service/keycloak-init-values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
keycloak:
realms: |-
realms:
mosip: # realm
roles:
- PARTNER_ADMIN
Expand All @@ -25,47 +25,47 @@ 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"
}
- 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"
}
- 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"
}
- 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"
}
- 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"
}
- 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"
Expand Down
1 change: 0 additions & 1 deletion helm/signup-service/keycloak-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down

0 comments on commit 065e6e1

Please sign in to comment.