Skip to content

Commit

Permalink
[INJIWEB-1167]: Reverting accidental commit of wrong issuers
Browse files Browse the repository at this point in the history
Signed-off-by: Kamlesh Singh Bisht <kamlesh.bisht@infosys.com>
  • Loading branch information
kamlesh012 committed Jan 10, 2025
1 parent 66e5c50 commit 9003a6c
Show file tree
Hide file tree
Showing 2 changed files with 132 additions and 24 deletions.
135 changes: 115 additions & 20 deletions src/main/resources/mimoto-issuers-config.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,135 @@
{
"issuers": [
{
"issuer_id": "CAR",
"credential_issuer": "CAR",
"issuer_id": "Mosip",
"protocol": "OpenId4VCI",
"display": [
{
"name": "Cadastro Ambiental Rural",
"name": "National Identity Department",
"logo": {
"url": "https://vharsh.github.io/demo/CAR.png",
"alt_text": "car-logo"
"url": "https://api.dev1.mosip.net/inji/mosip-logo.png",
"alt_text": "mosip-logo"
},
"title": "Cadastro Ambiental Rural",
"description": "Baixar credencial CAR",
"title": "National Identity Department",
"description": "Download MOSIP National / Foundational Identity Credential",
"language": "en"
},
{
"name": "Cadastro Ambiental Rural",
"name": "دائرة الهوية الوطنية",
"logo": {
"url": "https://api.dev1.mosip.net/inji/mosip-logo.png",
"alt_text": "شعار موسيب"
},
"title": "دائرة الهوية الوطنية",
"description": "قم بتنزيل بيانات اعتماد الهوية الوطنية / التأسيسية MOSIP",
"language": "ar"
},
{
"name": "राष्ट्रीय पहचान विभाग",
"logo": {
"url": "https://api.dev1.mosip.net/inji/mosip-logo.png",
"alt_text": "मोसिप लोगो"
},
"title": "राष्ट्रीय पहचान विभाग",
"description": "MOSIP नेशनल/फाउंडेशनल आइडेंटिटी क्रेडेंशियल डाउनलोड करेंं",
"language": "hi"
},
{
"name": "ರಾಷ್ಟ್ರೀಯ ಗುರುತಿನ ಇಲಾಖೆ",
"logo": {
"url": "https://api.dev1.mosip.net/inji/mosip-logo.png",
"alt_text": "mosip ಲೋಗೋ"
},
"title": "ರಾಷ್ಟ್ರೀಯ ಗುರುತಿನ ಇಲಾಖೆ",
"description": "MOSIP ರಾಷ್ಟ್ರೀಯ / ಫೌಂಡೇಶನಲ್ ಐಡೆಂಟಿಟಿ ರುಜುವಾತು ಡೌನ್‌ಲೋಡ್ ಮಾಡಿ",
"language": "kn"
},
{
"name": "தேசிய அடையாளத் துறை",
"logo": {
"url": "https://api.dev1.mosip.net/inji/mosip-logo.png",
"alt_text": "mosip லோகோ"
},
"title": "தேசிய அடையாளத் துறை",
"description": "MOSIP தேசிய / அடிப்படை அடையாளச் சான்றிதழைப் பதிவிறக்கவும்",
"language": "ta"
},
{
"name": "National Identity Department",
"logo": {
"url": "https://api.dev1.mosip.net/inji/mosip-logo.png",
"alt_text": "logo ng mosip"
},
"title": "National Identity Department",
"description": "I-download ang MOSIP National / Foundational Identity Credential",
"language": "fil"
}
],
"client_id": "XusU7P1y10lMr9NA1qnrny_fqynODwV4SCvWPP8cfdY",
"redirect_uri": "io.mosip.residentapp.inji://oauthredirect",
"token_endpoint": "https://api.dev1.mosip.net/v1/mimoto/get-token/Mosip",
"authorization_audience": "https://esignet-mosipid.dev1.mosip.net/v1/esignet/oauth/v2/token",
"proxy_token_endpoint": "https://esignet-mosipid.dev1.mosip.net/v1/esignet/oauth/v2/token",
"client_alias": "mpartner-default-test-mosipid",
"qr_code_type": "OnlineSharing",
"wellknown_endpoint": "https://injicertify-mosipid.dev1.mosip.net/v1/certify/issuance/.well-known/openid-credential-issuer",
"credential_issuer": "Mosip",
"credential_issuer_host": "https://injicertify-mosipid.dev1.mosip.net",
"enabled": "true"
},
{
"issuer_id": "StayProtected",
"protocol": "OpenId4VCI",
"display": [
{
"name": "StayProtected Insurance",
"logo": {
"url": "https://vharsh.github.io/demo/CAR.png",
"alt_text": "car-logo"
"url": "https://raw.githubusercontent.com/tw-mosip/file-server/master/StayProtectedInsurance.png",
"alt_text": "a square logo of a Sunbird"
},
"title": "Cadastro Ambiental Rural",
"description": "Baixe a credencial emitida pela autoridade terrestre",
"language": "pt"
"title": "Download StayProtected Insurance Credentials",
"description": "Download insurance credential",
"language": "en"
}
],
"client_id": "esignet-sunbird-partner",
"redirect_uri": "io.mosip.residentapp.inji://oauthredirect",
"token_endpoint": "https://api.dev1.mosip.net/v1/mimoto/get-token/StayProtected",
"authorization_audience": "https://esignet-insurance.dev1.mosip.net/v1/esignet/oauth/v2/token",
"proxy_token_endpoint": "https://esignet-insurance.dev1.mosip.net/v1/esignet/oauth/v2/token",
"client_alias": "esignet-sunbird-partner",
"qr_code_type": "OnlineSharing",
"wellknown_endpoint": "https://injicertify-insurance.dev1.mosip.net/v1/certify/issuance/.well-known/openid-credential-issuer",
"credential_issuer": "StayProtected",
"credential_issuer_host": "https://injicertify-insurance.dev1.mosip.net",
"enabled": "true"
},
{
"issuer_id": "Mock",
"protocol": "OpenId4VCI",
"client_id": "wallet-demo",
"client_alias": "wallet-demo-client",
"wellknown_endpoint": "https://injicertify-cp1.collab.mosip.net/v1/certify/issuance/.well-known/openid-credential-issuer",
"display": [
{
"name": "Mock Identity",
"logo": {
"url": "https://api.dev1.mosip.net/inji/mosip-logo.png",
"alt_text": "mosip-logo"
},
"title": "Mock Identity",
"description": "Download Mock Identity Credential",
"language": "en"
}
],
"client_id": "mpartner-mock-testing",
"redirect_uri": "io.mosip.residentapp.inji://oauthredirect",
"authorization_audience": "https://esignet-mock.collab.mosip.net/v1/esignet/oauth/v2/token",
"token_endpoint": "https://localhost:8099/v1/mimoto/get-token/CAR",
"proxy_token_endpoint": "https://esignet-mock.collab.mosip.net/v1/esignet/oauth/v2/token",
"token_endpoint": "https://api.dev1.mosip.net/v1/mimoto/get-token/Mock",
"authorization_audience": "https://esignet-insurance.dev1.mosip.net/v1/esignet/oauth/v2/token",
"proxy_token_endpoint": "https://esignet-mock.dev1.mosip.net/v1/esignet/oauth/v2/token",
"client_alias": "mpartner-mock-testing",
"qr_code_type": "OnlineSharing",
"wellknown_endpoint": "https://injicertify-mock.dev1.mosip.net/v1/certify/issuance/.well-known/openid-credential-issuer",
"credential_issuer": "Mock",
"credential_issuer_host": "https://injicertify-mock.dev1.mosip.net",
"enabled": "true"
}
]
}
}
21 changes: 17 additions & 4 deletions src/main/resources/mimoto-trusted-verifiers.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,26 @@
{
"verifiers": [
{
"client_id": "https://injiverify-cp1.collab.mosip.net",
"client_id": "https://injiverify.dev2.mosip.net",
"redirect_uris": [
"https://injiverify-cp1.collab.mosip.net/redirect"
"https://injiverify.qa-inji.mosip.net/redirect",
"https://injiverify.dev2.mosip.net/redirect"
],
"response_uris": [
"https://9055-2405-201-c058-b814-81ee-2d4-a331-aa1c.ngrok-free.app/verifier/vp-response"
"https://injiverify.qa-inji.mosip.net/redirect",
"https://injiverify.dev2.mosip.net/redirect"
]
},
{
"client_id": "https://injiverify.dev1.mosip.net",
"redirect_uris": [
"https://injiverify.qa-inji.mosip.net/redirect",
"https://injiverify.dev1.mosip.net/redirect"
],
"response_uris": [
"https://injiverify.qa-inji.mosip.net/redirect",
"https://injiverify.dev1.mosip.net/redirect"
]
}
]
}
}

0 comments on commit 9003a6c

Please # to comment.