Skip to content

Commit

Permalink
fix: v5 test issuer URLs (#669)
Browse files Browse the repository at this point in the history
Signed-off-by: Mykhailo Sizov <[email protected]>
  • Loading branch information
mishasizov-SK authored Aug 14, 2023
1 parent e80ffde commit e358d16
Showing 1 changed file with 23 additions and 101 deletions.
124 changes: 23 additions & 101 deletions vcs-v1/kustomize/vcs-v1/overlays/common/vcs-awskms/vcs/profiles.json
Original file line number Diff line number Diff line change
Expand Up @@ -557,11 +557,12 @@
"version": "v1.0",
"groupID": "group_bank_issuer_sdjwt_v5",
"name": "Bank Issuer SDJWT v5",
"organizationID": "f13d1va9lp403pb9lyj89vk55",
"url": "http://vc-rest-echo.trustbloc.local:8075",
"organizationID": "test-org",
"url": "https://demo-issuer.||DOMAIN||/",
"webHook": "https://demo-issuer.||DOMAIN||/verify/openid4ci/webhook",
"active": true,
"vcConfig": {
"signingAlgorithm": "JsonWebSignature2020",
"signingAlgorithm": "EcdsaSecp256k1Signature2019",
"signatureRepresentation": 0,
"keyType": "ECDSASecp256k1DER",
"format": "jwt",
Expand All @@ -576,15 +577,16 @@
}
},
"oidcConfig": {
"client_id": "7d4u50e7w6nfq8tfayhzplgjf",
"client_secret_handle": "282ks4fkuqfosus5k0x30abnv",
"issuer_well_known": "http://cognito-mock.trustbloc.local:9229/local_5a9GzRvB/.well-known/openid-configuration",
"client_id": "bank_issuer_sdjwt_v5",
"client_secret_handle": "bank-issuer-sdjwt-v5-secret",
"issuer_well_known": "https://hydra.||DOMAIN||/.well-known/openid-configuration",
"scopes_supported": [
"openid",
"profile"
],
"grant_types_supported": [
"authorization_code"
"authorization_code",
"urn:ietf:params:oauth:grant-type:pre-authorized_code"
],
"response_types_supported": [
"code"
Expand All @@ -596,143 +598,63 @@
"enable_discoverable_client_id_scheme": true,
"pre-authorized_grant_anonymous_access_supported": true,
"wallet_initiated_auth_flow_supported": true,
"claims_endpoint": "https://mock-login-consent.example.com:8099/claim-data?credentialType=UniversityDegreeCredential"
"claims_endpoint": "https://login-consent.||DOMAIN||/claim-data?profile_id=bank_issuer_sdjwt_v5"
},
"credentialTemplates": [
{
"contexts": [
"https://www.w3.org/2018/credentials/v1",
"https://www.w3.org/2018/credentials/examples/v1"
],
"type": "UniversityDegreeCredential",
"id": "universityDegreeTemplateID",
"issuer": "did:ion:bank_issuer_sdjwt_v5",
"checks": {
"strict": true
}
},
{
"contexts": [
"https://www.w3.org/2018/credentials/v1",
"https://www.w3.org/2018/credentials/examples/v1"
],
"type": "VerifiedEmployee",
"id": "templateID",
"issuer": "did:ion:bank_issuer_sdjwt_v5",
"checks": {
"strict": true
}
},
{
"contexts": [
"https://www.w3.org/2018/credentials/v1",
"https://w3id.org/citizenship/v1"
],
"type": "PermanentResidentCard",
"id": "permanentResidentCardTemplateID",
"issuer": "did:ion:bank_issuer_sdjwt_v5",
"checks": {
"strict": true
}
},
{
"contexts": [
"https://www.w3.org/2018/credentials/v1",
"https://trustbloc.github.io/context/vc/examples-crude-product-v1.jsonld"
],
"type": "CrudeProductCredential",
"id": "crudeProductCredentialTemplateID",
"issuer": "did:ion:bank_issuer_sdjwt_v5",
"checks": {
"strict": true
}
"id": "crude-product-credential-template-id",
"issuer": "did:ion:bank_issuer_sdjwt_v5"
}
],
"credentialMetadata": {
"credentials_supported": [
{
"format": "jwt_vc_json-ld",
"id": "VerifiedEmployee_JWT",
"format": "jwt_vc_json",
"id": "CrudeProductCredential",
"types": [
"VerifiableCredential",
"VerifiedEmployee"
"CrudeProductCredential"
],
"display": [
{
"name": "Verified Employee",
"name": "Crude Product Credential",
"locale": "en-US",
"logo": {
"url": "https://example.com/public/logo.png",
"alt_text": "a square logo of a employee verification"
"alt_text": "Crude Product Credential logo"
},
"background_color": "#12107c",
"background_color": "#277B3E",
"text_color": "#FFFFFF"
}
],
"credentialSubject": {
"displayName": {
"display": [
{
"name": "Employee",
"locale": "en-US"
}
]
},
"givenName": {
"category": {
"display": [
{
"name": "Given Name",
"name": "Category",
"locale": "en-US"
}
]
},
"jobTitle": {
"description": {
"display": [
{
"name": "Job Title",
"name": "Description",
"locale": "en-US"
}
]
},
"surname": {
"display": [
{
"name": "Surname",
"locale": "en-US"
}
]
},
"preferredLanguage": {
"display": [
{
"name": "Preferred Language",
"locale": "en-US"
}
]
},
"mail": {
"display": [
{
"name": "Mail",
"locale": "en-US"
}
]
},
"photo": {
"display": [
{
"name": "Photo"
}
]
}
}
}
]
}
},
"createDID": true,
"didDomain": "https://||BLOC_DOMAIN||",
"didServiceAuthToken": "tk1"
"createDID": true
},
{
"issuer": {
Expand Down

0 comments on commit e358d16

Please sign in to comment.