Created
October 28, 2023 02:28
-
-
Save rbrayb/bbb3738e22b2416f5301639eb31ab7e9 to your computer and use it in GitHub Desktop.
Configuring an Entra VC and testing it via Postman
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"locale": "en-US", | |
"card": { | |
"backgroundColor": "#E74C3C", | |
"description": "Azure UG Plus verified member", | |
"issuedBy": "Azure UG", | |
"textColor": "#ffffff", | |
"title": "Azure UG Plus member", | |
"logo": { | |
"description": "Gourmet pastry", | |
"uri": "https://.../didvcbranding/muffin.jpg" | |
} | |
}, | |
"consent": { | |
"instructions": "Consent to become Azure UG Plus member", | |
"title": "UG Plus consent" | |
}, | |
"claims": [ | |
{ | |
"claim": "vc.credentialSubject.firstName", | |
"label": "Name", | |
"type": "String" | |
}, | |
{ | |
"claim": "vc.credentialSubject.lastName", | |
"label": "Surname", | |
"type": "String" | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"includeQRCode": true, | |
"callback": { | |
"url": "https://example.com", | |
"state": "abce", | |
"headers": { | |
"api-key": "API for ISSUER CALLBACK API" | |
} | |
}, | |
"authority": "did:ion:...J9fQ", | |
"registration": { | |
"clientName": "Azure UG Plus" | |
}, | |
"type": "AzureUGPlus", | |
"manifest": "https://verifiedid.did.msidentity.com/v1.0/tenants/00d...c79/verifiableCredentials/contracts/76d...88/manifest", | |
"claims": { | |
"given_name": "Joe", | |
"family_name": "Bloggs" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"includeQRCode": true, | |
"callback": { | |
"url": "https://example.com", | |
"state": "dasd", | |
"headers": { | |
"api-key": "an-api-key-can-go-here" | |
} | |
}, | |
"authority": "{{AuthorityDID}}", | |
"registration": { | |
"clientName": "Azure UG Plus" | |
}, | |
"requestedCredentials": [ | |
{ | |
"type": "AzureUGPlus", | |
"purpose": "So we can check your real identity.", | |
"acceptedIssuers": [ | |
], | |
"configuration": { | |
"validation": { | |
"allowRevoked": false, | |
"validateLinkedDomain": true | |
} | |
} | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"attestations": { | |
"idTokenHints": [ | |
{ | |
"mapping": [ | |
{ | |
"outputClaim": "firstName", | |
"required": true, | |
"inputClaim": "$.given_name", | |
"indexed": false | |
}, | |
{ | |
"outputClaim": "lastName", | |
"required": true, | |
"inputClaim": "$.family_name", | |
"indexed": false | |
} | |
], | |
"required": false | |
} | |
] | |
}, | |
"validityInterval": 2592000, | |
"vc": { | |
"type": [ | |
"AzureUGPlus" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://medium.com/the-new-control-plane/configuring-an-entra-vc-and-testing-it-via-postman-143a931c5e64