Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ES-4 #461

Merged
merged 1 commit into from
Nov 9, 2023
Merged

ES-4 #461

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1952,7 +1952,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"requestTime\": \"{{$isoTimestamp}}\",\n \"request\": {\n \"clientId\": \"{{clientId}}\",\n \"scope\": \"sample_vc_ldp\",\n \"responseType\": \"code\",\n \"redirectUri\": \"{{redirectionUrl}}\",\n \"display\": \"popup\",\n \"prompt\": \"login\",\n \"acrValues\": \"mosip:idp:acr:generated-code\",\n \"nonce\" : \"{{nonce}}\",\n \"state\" : \"{{state}}\",\n \"claimsLocales\" : \"en\",\n \"codeChallenge\" : \"{{codeChallenge}}\",\n \"codeChallengeMethod\" : \"{{codeChallengeMethod}}\"\n }\n}",
"raw": "{\n \"requestTime\": \"{{$isoTimestamp}}\",\n \"request\": {\n \"clientId\": \"{{clientId}}\",\n \"scope\": \"mock_identity_vc_ldp\",\n \"responseType\": \"code\",\n \"redirectUri\": \"{{redirectionUrl}}\",\n \"display\": \"popup\",\n \"prompt\": \"login\",\n \"acrValues\": \"mosip:idp:acr:generated-code\",\n \"nonce\" : \"{{nonce}}\",\n \"state\" : \"{{state}}\",\n \"claimsLocales\" : \"en\",\n \"codeChallenge\" : \"{{codeChallenge}}\",\n \"codeChallengeMethod\" : \"{{codeChallengeMethod}}\"\n }\n}",
"options": {
"raw": {
"language": "json"
Expand Down Expand Up @@ -2320,7 +2320,7 @@
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"format\": \"ldp_vc\",\n \"credential_definition\" : { \"type\" : [\"VerifiableCredential\", \"MOSIPVerifiableCredential\"], \"@context\" : [\"https://www.w3.org/2018/credentials/v1\"]},\n \"proof\": {\n \"proof_type\": \"jwt\",\n \"jwt\": \"{{proof_jwt}}\"\n }\n}",
"raw": "{\n \"format\": \"ldp_vc\",\n \"credential_definition\" : { \"type\" : [\"VerifiableCredential\", \"MockVerifiableCredential\"], \"@context\" : [\"https://www.w3.org/2018/credentials/v1\"]},\n \"proof\": {\n \"proof_type\": \"jwt\",\n \"jwt\": \"{{proof_jwt}}\"\n }\n}",
"options": {
"raw": {
"language": "json"
Expand Down
5 changes: 4 additions & 1 deletion esignet-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
* OpenIdController - Endpoints specific to OIDC protocol like /userinfo and /.well-known/openid-configuration
* SystemInfoController - Endpoints to get the pet public part of the keys managed in the keystore by keymanager.
* KeyBindingController - Endpoints used by wallets to bind a key to an individual ID to support wallet local authentication.
* VCIController - Wallet initiated /credential endpoint returning just in time credential and /.well-known/openid-credential-issuer endpoint specific to [OpenID4VCI specification Draft 13](https://openid.github.io/OpenID4VCI/openid-4-verifiable-credential-issuance-wg-draft.html)
* VCIController - Wallet initiated /credential endpoint returning just in time credential and /.well-known/openid-credential-issuer endpoint specific to [OpenID4VCI specification](https://openid.net/specs/openid-4-verifiable-credential-issuance-1_0.html)

Note: VCI implementations currently only supports ldp_vc format with 'jwt' PoP. And we only issue scope based VC.
Both mock plugin and the MOSIP IDA plugin supports only scoped based VC issuance.

## e-Signet Plugins
1. We have well-defined plugin interfaces in esignet-intergration-api.
Expand Down