Skip to content

Commit

Permalink
[DSD-3960]: Update mimoto and inji configuration (#4957)
Browse files Browse the repository at this point in the history
Signed-off-by: Swati Goel <[email protected]>
  • Loading branch information
swatigoel authored Dec 15, 2023
1 parent bce5c33 commit 8daf0b5
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 3 deletions.
6 changes: 6 additions & 0 deletions inji-default.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,11 @@ mosip.inji.audience=ida-binding
mosip.inji.issuer=residentapp
# warning screen domain name
mosip.inji.warningDomainName=https://${mosip.api.public.host}
# inji documentation url
mosip.inji.aboutInjiUrl=https://docs.mosip.io/inji
# minimum storage space required for making audit entry in MB
mosip.inji.minStorageRequiredForAuditEntry=2
# minimum storage space required for downloading / receiving vc in MB
mosip.inji.minStorageRequired=5
#timeout for vc download api via openid4vci flow in milliseconds
mosip.inji.openId4VCIDownloadVCTimeout=30000
25 changes: 22 additions & 3 deletions mimoto-default.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

public.url=${mosip.api.internal.url}/residentmobileapp
mosip.resident.base.url=${mosip.resident.url}/resident/v1
mosip.esignet.base.url=${mosip.esignet.host}/v1/esignet
idp.binding.base.url=https://${mosip.api.public.host}/v1/esignet/binding

RESIDENT_OTP=${mosip.resident.base.url}/req/otp
Expand All @@ -12,6 +13,7 @@ RESIDENT_AUTH_LOCK=${mosip.resident.base.url}/req/auth-lock
RESIDENT_AUTH_UNLOCK=${mosip.resident.base.url}/req/auth-unlock
RESIDENT_INDIVIDUALID_OTP=${mosip.resident.base.url}/individualId/otp
RESIDENT_AID_GET_INDIVIDUALID=${mosip.resident.base.url}/aid/status

BINDING_OTP=${idp.binding.base.url}/binding-otp
WALLET_BINDING=${idp.binding.base.url}/wallet-binding

Expand Down Expand Up @@ -99,10 +101,10 @@ mosip.country.code=MOR
registration.processor.signature.isEnabled=true

# Language Supported By Platform - ISO
mosip.supported-languages=eng,ara,fra
mosip.supported-languages=eng,ara,kan,hin,tam,fra

mosip.template-language=eng
mosip.optional-languages=ara,fra
mosip.optional-languages=kan,ara,fra,tam,hin
mosip.mandatory-languages=eng

# mosip.primary-language=eng
Expand All @@ -126,7 +128,7 @@ mosip.kernel.tokenid.length=36

# log level
logging.level.root=WARN
logging.level.io.mosip=DEBUG
logging.level.io.mosip=INFO
# logging.level.io.mosip.kernel.auth.defaultadapter.filter=INFO
logging.level.io.mosip.kernel.auth.defaultadapter=DEBUG
logging.level.org.springframework.http.client=DEBUG
Expand Down Expand Up @@ -183,3 +185,20 @@ wallet.binding.partner.api.key=${mimoto.wallet.binding.partner.api.key}

mosip.kernel.masterdata.code.validate.regex=[^a-z0-9\u0600-\u06FF\u0C80-\u0CFF]
mosip.kernel.masterdata.name.validate.regex=[^a-z\u0600-\u06FF\u0C80-\u0CFF]

#mosip notification otp channel config
mosip.notificationtype=SMS|EMAIL|PHONE

# OpenID
# Configurations related to openid4vc
mosip.openid.issuers=mimoto-issuers-config.json
GET_TOKEN=${public.internet.url}/v1/esignet/login/oauth/token
mosip.oidc.esignet.token.endpoint=https://${mosip.esignet.base.url}/oauth/v2/token
mosip.oidc.esignet.aud=https://${mosip.esignet.base.url}/oauth/v2/token
mosip.oidc.client.id=${mimoto.oidc.partner.clientid}
mosip.oidc.client.assertion.type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer
mosip.oidc.p12.filename=oidckeystore.p12
mosip.oidc.p12.password=${mimoto.oidc.keystore.password}
mosip.oidc.p12.alias=mpartner-default-mimotooidc
#Property to test the mounted p12 file extraction of openid4vci flow.
mosip.oidc.p12.path=certs/
41 changes: 41 additions & 0 deletions mimoto-issuers-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"issuers": [
{
"credential_issuer": "Mosip",
"display": [
{
"name": "UIN, VID, AID",
"logo": {
"url": "https://${mosip.api.public.host}/inji/digit-icon.png",
"alt_text": "digits-icon"
},
"language": "en"
}
],
"protocol": "OTP"
},
{
"credential_issuer": "ESignet",
"display": [
{
"name": "e-Signet",
"logo": {
"url": "https://${mosip.esignet.host}/logo.png",
"alt_text": "esignet-logo"
},
"language": "en"
}
],
"protocol": "OpenId4VCI",
"client_id": "${mimoto.oidc.partner.clientid}",
"scopes_supported": ["mosip_identity_vc_ldp"],
"additional_headers": { "Accept": "application/json" },
".well-known": null,
"redirect_uri": "io.mosip.residentapp.inji://oauthredirect",
"authorization_endpoint": "https://${mosip.esignet.host}/authorize",
"token_endpoint": "https://${mosip.api.public.host}/residentmobileapp/get-token",
"credential_endpoint": "https://${mosip.esignet.host}/v1/esignet/vci/credential",
"credential_audience": "https://${mosip.esignet.host}/v1/esignet"
}
]
}

0 comments on commit 8daf0b5

Please sign in to comment.