diff --git a/default.sh b/default.sh index 446bb90..126423d 100644 --- a/default.sh +++ b/default.sh @@ -689,5 +689,7 @@ elif [ "$MODULE" = "resident-oidc" ]; then LOGO_URI="https://sunbird.org/images/sunbird-logo-new.png" REDIRECT_URIS="io.mosip.residentapp.inji:\/\/oauthredirect,https://inji.$( printenv installation-domain)/redirect" onboard_esignet_sunbird_partner + echo "Updating Sunbird-OIDC Partner Client ID" + kubectl create secret generic sunbird-oidc-partner-clientid -n $ns_mimoto --from-literal=sunbird-oidc-partner-clientid=$mpartnerdefaultsunbirdoidcclientID --dry-run=client -o yaml | kubectl apply -f - echo "Esignet Sunbird Partner onboarding completed" fi diff --git a/onboarding.postman_collection.json b/onboarding.postman_collection.json index 5cc229c..ae1d71b 100644 --- a/onboarding.postman_collection.json +++ b/onboarding.postman_collection.json @@ -1,6 +1,6 @@ { "info": { - "_postman_id": "7baa98a5-879c-4861-9a6b-6c9c16ddd793", + "_postman_id": "88397269-8200-4407-a8cc-7b48c0f91cc3", "name": "onboarding Copy", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "_exporter_id": "12620596" @@ -2559,7 +2559,9 @@ " pm.environment.set(\"mpartner-default-resident-oidc-clientID\", responseJson.response.clientId);", "} else if (partnerKcUsername === \"mpartner-default-mimotooidc\") {", " pm.environment.set(\"mpartner-default-mimotooidc-clientID\", responseJson.response.clientId);", - "}", + "} else if (partnerKcUsername === \"esignet-sunbird-partner\") {", + " pm.environment.set(\"mpartner-default-sunbirdoidc-clientID\", responseJson.response.clientId);", + "} ", "", "" ],