Skip to content

Commit 7ae548c

Browse files
committed
reverting back to pub version, to address issues in another pr
1 parent 7e01070 commit 7ae548c

File tree

1 file changed

+49
-78
lines changed

1 file changed

+49
-78
lines changed

articles/active-directory/verifiable-credentials/verifiable-credentials-configure-issuer.md

Lines changed: 49 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The following diagram illustrates the Microsoft Entra Verified ID architecture a
4040
- To clone the repository that hosts the sample app, install [GIT](https://git-scm.com/downloads).
4141
- [Visual Studio Code](https://code.visualstudio.com/Download), or similar code editor.
4242
- [.NET 5.0](https://dotnet.microsoft.com/download/dotnet/5.0).
43-
- Download [ngrok](https://ngrok.com/) and sign up for a free account. If you can't use `ngrok` in your organization, please read this [FAQ](verifiable-credentials-faq.md#i-can-not-use-ngrok-what-do-i-do).
43+
- Download [ngrok](https://ngrok.com/) and sign up for a free account. If you can't use `ngrok` in your organization,read this [FAQ](verifiable-credentials-faq.md#i-can-not-use-ngrok-what-do-i-do).
4444
- A mobile device with Microsoft Authenticator:
4545
- Android version 6.2206.3973 or later installed.
4646
- iOS version 6.6.2 or later installed.
@@ -50,82 +50,53 @@ The following diagram illustrates the Microsoft Entra Verified ID architecture a
5050
In this step, you create the verified credential expert card by using Microsoft Entra Verified ID. After you create the credential, your Azure AD tenant can issue it to users who initiate the process.
5151

5252
1. Using the [Azure portal](https://portal.azure.com/), search for **Verified ID** and select it.
53-
2. After you [set up your tenant](verifiable-credentials-configure-tenant.md), the **Create credential** should appear. Alternatively, you can select **Credentials** in the left hand menu and select **+ Add a credential**.
54-
3. In **Create credential**, select **Custom Credential** and select **Next**:
53+
1. After you [set up your tenant](verifiable-credentials-configure-tenant.md), the **Create credential** should appear. Alternatively, you can select **Credentials** in the left hand menu and select **+ Add a credential**.
54+
1. In **Create credential**, select **Custom Credential** and click **Next**:
5555

5656
1. For **Credential name**, enter **VerifiedCredentialExpert**. This name is used in the portal to identify your verifiable credentials. It's included as part of the verifiable credentials contract.
5757

5858
1. Copy the following JSON and paste it in the **Display definition** textbox
59-
6059

61-
```json
62-
{
63-
"locale": "en-US",
64-
"card": {
65-
"title": "Verified Credential Expert",
66-
"issuedBy": "Microsoft",
67-
"backgroundColor": "#000000",
68-
"textColor": "#ffffff",
69-
"logo": {
70-
"uri": "https://didcustomerplayground.blob.core.windows.net/public/VerifiedCredentialExpert_icon.png",
71-
"description": "Verified Credential Expert Logo"
72-
},
73-
"description": "Use your verified credential to prove to anyone that you know all about verifiable credentials."
74-
},
75-
"consent": {
76-
"title": "Do you want to get your Verified Credential?",
77-
"instructions": "Sign in with your account to get your card."
78-
},
79-
"claims": [
80-
{
81-
"claim": "vc.credentialSubject.userName",
82-
"label": "User name",
83-
"type": "String"
84-
},
85-
{
86-
"claim": "vc.credentialSubject.displayName",
87-
"label": "Display name",
88-
"type": "String"
89-
},
90-
{
91-
"claim": "vc.credentialSubject.firstName",
92-
"label": "First name",
93-
"type": "String"
94-
},
95-
{
96-
"claim": "vc.credentialSubject.lastName",
97-
"label": "Last name",
98-
"type": "String"
99-
}
100-
]
101-
}
102-
```
103-
104-
4. Copy the following JSON and paste it in the **Rules definition** textbox
105-
60+
```json
61+
{
62+
"locale": "en-US",
63+
"card": {
64+
"title": "Verified Credential Expert",
65+
"issuedBy": "Microsoft",
66+
"backgroundColor": "#000000",
67+
"textColor": "#ffffff",
68+
"logo": {
69+
"uri": "https://didcustomerplayground.blob.core.windows.net/public/VerifiedCredentialExpert_icon.png",
70+
"description": "Verified Credential Expert Logo"
71+
},
72+
"description": "Use your verified credential to prove to anyone that you know all about verifiable credentials."
73+
},
74+
"consent": {
75+
"title": "Do you want to get your Verified Credential?",
76+
"instructions": "Sign in with your account to get your card."
77+
},
78+
"claims": [
79+
{
80+
"claim": "vc.credentialSubject.firstName",
81+
"label": "First name",
82+
"type": "String"
83+
},
84+
{
85+
"claim": "vc.credentialSubject.lastName",
86+
"label": "Last name",
87+
"type": "String"
88+
}
89+
]
90+
}
91+
```
10692

107-
```json
93+
1. Copy the following JSON and paste it in the **Rules definition** textbox
94+
```JSON
10895
{
10996
"attestations": {
110-
"idTokens": [
97+
"idTokenHints": [
11198
{
112-
"clientId": "8d5b446e-22b2-4e01-bb2e-9070f6b20c90",
113-
"configuration": "https://didplayground.b2clogin.com/didplayground.onmicrosoft.com/B2C_1_sisu/v2.0/.well-known/openid-configuration",
114-
"redirectUri": "vcclient://openid",
115-
"scope": "openid profile email",
11699
"mapping": [
117-
{
118-
"outputClaim": "userName",
119-
"required": true,
120-
"inputClaim": "$.upn",
121-
"indexed": false
122-
},
123-
{
124-
"outputClaim": "displayName",
125-
"required": true,
126-
"inputClaim": "$.name",
127-
"indexed": false
128-
},
129100
{
130101
"outputClaim": "firstName",
131102
"required": true,
@@ -136,23 +107,23 @@ In this step, you create the verified credential expert card by using Microsoft
136107
"outputClaim": "lastName",
137108
"required": true,
138109
"inputClaim": "$.family_name",
139-
"indexed": true
110+
"indexed": false
140111
}
141112
],
142113
"required": false
143114
}
144-
]
145-
},
146-
"validityInterval": 2592000,
147-
"vc": {
148-
"type": [
149-
"VerifiedCredentialExpert"
150-
]
115+
],
116+
"validityInterval": 2592000,
117+
"vc": {
118+
"type": [
119+
"VerifiedCredentialExpert"
120+
]
121+
}
151122
}
152123
}
153-
```
124+
```
154125

155-
5. Select **Create**.
126+
1. Select **Create**.
156127

157128
The following screenshot demonstrates how to create a new credential:
158129

@@ -357,4 +328,4 @@ public async Task<ActionResult> issuanceRequest()
357328

358329
## Next steps
359330

360-
In the [next step](verifiable-credentials-configure-verifier.md), learn how a third-party application, also known as a relying party application, can verify your credentials with its own Azure AD tenant verifiable credentials API service.
331+
In the [next step](verifiable-credentials-configure-verifier.md), learn how a third-party application, also known as a relying party application, can verify your credentials with its own Azure AD tenant verifiable credentials API service.

0 commit comments

Comments
 (0)