Skip to content

Commit

Permalink
Merge pull request #106 from Mahesh-Binayak/develop
Browse files Browse the repository at this point in the history
[MOSIP-35375]added secret generation for sunbird.
  • Loading branch information
ckm007 authored Sep 24, 2024
2 parents 0e265d5 + 298602d commit 1b5f6a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions default.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 4 additions & 2 deletions onboarding.postman_collection.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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);",
"} ",
"",
""
],
Expand Down

0 comments on commit 1b5f6a0

Please sign in to comment.