-
Notifications
You must be signed in to change notification settings - Fork 593
/
FIDOExtensions.xml
546 lines (493 loc) · 26.4 KB
/
FIDOExtensions.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
<?xml version="1.0" encoding="utf-8" ?>
<TrustFrameworkPolicy
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://schemas.microsoft.com/online/cpim/schemas/2013/06"
PolicySchemaVersion="0.3.0.0"
TenantId="yourtenant.onmicrosoft.com"
PolicyId="B2C_1A_FIDOExtensions"
PublicPolicyUri="http://yourtenant.onmicrosoft.com/B2C_1A_FIDOExtensions">
<BasePolicy>
<TenantId>yourtenant.onmicrosoft.com</TenantId>
<PolicyId>B2C_1A_TrustFrameworkExtensions</PolicyId>
</BasePolicy>
<BuildingBlocks>
<ClaimsSchema>
<!--Sample: Add input type to the objectId claim type, so we can render it on the self-asserted page-->
<ClaimType Id="objectId">
<UserInputType>Readonly</UserInputType>
</ClaimType>
<!--Sample: Stores the user message -->
<ClaimType Id="userMessage">
<DisplayName></DisplayName>
<DataType>string</DataType>
<UserInputType>Paragraph</UserInputType>
</ClaimType>
<!--Sample: Work around for a self-asserted page without claims -->
<ClaimType Id="fake">
<DisplayName></DisplayName>
<DataType>string</DataType>
<UserInputType>TextBox</UserInputType>
</ClaimType>
<!--Sample: Stores the FIDO challenge received from the REST API-->
<ClaimType Id="challenge">
<DisplayName>FIDO Challenge</DisplayName>
<DataType>string</DataType>
<UserInputType>TextBox</UserInputType>
</ClaimType>
<!--Sample: Read only claims to render on the self-asserted page-->
<ClaimType Id="readOnlyDisplayName">
<DisplayName>FIDO dispaly name</DisplayName>
<DataType>string</DataType>
<UserInputType>Readonly</UserInputType>
</ClaimType>
<ClaimType Id="readOnlyName">
<DisplayName>FIDO username</DisplayName>
<DataType>string</DataType>
<UserInputType>Readonly</UserInputType>
</ClaimType>
<!--Sample: The rawId read-only property of the PublicKeyCredential interface is an ArrayBuffer object
containing the identifier of the credentials. (base64url encoding).-->
<ClaimType Id="extension_fido_rawId">
<DisplayName>rawId</DisplayName>
<DataType>string</DataType>
<UserInputType>TextBox</UserInputType>
</ClaimType>
<!--Sample: The client data for the authentication, such as origin and challenge (base64url encoding).-->
<ClaimType Id="clientDataJSON">
<DisplayName>clientDataJSON</DisplayName>
<DataType>string</DataType>
<UserInputType>TextBox</UserInputType>
</ClaimType>
<!--Sample: An ArrayBuffer containing authenticator data and an attestation statement for a newly-created key pair. (base64url encoding) .-->
<ClaimType Id="attestationObject">
<DisplayName>attestationObject</DisplayName>
<DataType>string</DataType>
<UserInputType>TextBox</UserInputType>
</ClaimType>
<!--Sample: An ArrayBuffer containing an opaque user identifier.-->
<ClaimType Id="userHandle">
<DisplayName>userHandle</DisplayName>
<DataType>string</DataType>
<UserInputType>TextBox</UserInputType>
</ClaimType>
<!--Sample: An assertion signature over AuthenticatorAssertionResponse.authenticatorData and AuthenticatorResponse.clientDataJSON.
The assertion signature is created with the private key of keypair that was created during the
navigator.credentials.create() call and verified using the public key of that same keypair.-->
<ClaimType Id="signature">
<DisplayName>signature</DisplayName>
<DataType>string</DataType>
<UserInputType>TextBox</UserInputType>
</ClaimType>
<!--Sample: An ArrayBuffer containing information from the authenticator such as the Relying Party ID Hash (rpIdHash),
a signature counter, test of user presence and user verification flags, and any extensions processed by the authenticator-->
<ClaimType Id="authenticatorData">
<DisplayName>authenticatorData</DisplayName>
<DataType>string</DataType>
<UserInputType>TextBox</UserInputType>
</ClaimType>
<!--Sample: the public key return after registration-->
<ClaimType Id="fido_publicKeyJwk">
<DisplayName>publicKeyJwk</DisplayName>
<DataType>string</DataType>
<UserInputType>TextBox</UserInputType>
</ClaimType>
<ClaimType Id="extension_fido_publicKeyJwk1">
<DisplayName>publicKeyJwk</DisplayName>
<DataType>string</DataType>
<UserInputType>TextBox</UserInputType>
</ClaimType>
<ClaimType Id="extension_fido_publicKeyJwk2">
<DisplayName>publicKeyJwk</DisplayName>
<DataType>string</DataType>
<UserInputType>TextBox</UserInputType>
</ClaimType>
</ClaimsSchema>
<ClaimsTransformations>
<!--Sample: Initiates the message to be presented to the user-->
<ClaimsTransformation Id="FIDOEnrollmentCreateWelcomeMessage" TransformationMethod="CreateStringClaim">
<InputParameters>
<InputParameter Id="value" DataType="string" Value="To enroll your FIDO credentials, you need to sign-in first. Click continue and sign-in with your own credential." />
</InputParameters>
<OutputClaims>
<OutputClaim ClaimTypeReferenceId="userMessage" TransformationClaimType="createdClaim" />
</OutputClaims>
</ClaimsTransformation>
<!--Sample: Initiates the message to be presented to the user-->
<ClaimsTransformation Id="FIDOEnrollmentCreateRegistrationMessage" TransformationMethod="FormatStringClaim">
<InputClaims>
<InputClaim ClaimTypeReferenceId="signInNames.emailAddress" TransformationClaimType="inputClaim" />
</InputClaims>
<InputParameters>
<InputParameter Id="stringFormat" DataType="string" Value="Click Register to enroll {0} with a FIDO authenticator" />
</InputParameters>
<OutputClaims>
<OutputClaim ClaimTypeReferenceId="userMessage" TransformationClaimType="outputClaim" />
</OutputClaims>
</ClaimsTransformation>
<!--Sample: Set a fake value-->
<ClaimsTransformation Id="CreateFakeValue" TransformationMethod="CreateStringClaim">
<InputParameters>
<InputParameter Id="value" DataType="string" Value="fake" />
</InputParameters>
<OutputClaims>
<OutputClaim ClaimTypeReferenceId="fake" TransformationClaimType="createdClaim" />
</OutputClaims>
</ClaimsTransformation>
<!--Sample: Initiates the message to be presented to the user-->
<ClaimsTransformation Id="FIDOCreateAuthenticationMessage" TransformationMethod="CreateStringClaim">
<InputParameters>
<InputParameter Id="value" DataType="string" Value="Click Authenticate to identify yourself with FIDO authenticator" />
</InputParameters>
<OutputClaims>
<OutputClaim ClaimTypeReferenceId="userMessage" TransformationClaimType="createdClaim" />
</OutputClaims>
</ClaimsTransformation>
<!--Sample: Copy the user's email address-->
<ClaimsTransformation Id="CopyEmailAddress" TransformationMethod="FormatStringClaim">
<InputClaims>
<InputClaim ClaimTypeReferenceId="signInNames.emailAddress" TransformationClaimType="inputClaim" />
</InputClaims>
<InputParameters>
<InputParameter Id="stringFormat" DataType="string" Value="{0}" />
</InputParameters>
<OutputClaims>
<OutputClaim ClaimTypeReferenceId="readOnlyName" TransformationClaimType="outputClaim" />
</OutputClaims>
</ClaimsTransformation>
<!--Sample: Copy the user's display name-->
<ClaimsTransformation Id="CopyDisplayName" TransformationMethod="FormatStringClaim">
<InputClaims>
<InputClaim ClaimTypeReferenceId="displayName" TransformationClaimType="inputClaim" />
</InputClaims>
<InputParameters>
<InputParameter Id="stringFormat" DataType="string" Value="{0}" />
</InputParameters>
<OutputClaims>
<OutputClaim ClaimTypeReferenceId="readOnlyDisplayName" TransformationClaimType="outputClaim" />
</OutputClaims>
</ClaimsTransformation>
</ClaimsTransformations>
<ContentDefinitions>
<!-- Sample: enable script execution by setting the page contract -->
<ContentDefinition Id="api.error">
<DataUri>urn:com:microsoft:aad:b2c:elements:contract:globalexception:1.1.0</DataUri>
</ContentDefinition>
<ContentDefinition Id="api.idpselections">
<DataUri>urn:com:microsoft:aad:b2c:elements:contract:providerselection:1.0.0</DataUri>
</ContentDefinition>
<ContentDefinition Id="api.idpselections.signup">
<DataUri>urn:com:microsoft:aad:b2c:elements:contract:providerselection:1.0.0</DataUri>
</ContentDefinition>
<ContentDefinition Id="api.signuporsignin">
<DataUri>urn:com:microsoft:aad:b2c:elements:contract:unifiedssp:1.1.0</DataUri>
</ContentDefinition>
<ContentDefinition Id="api.selfasserted">
<DataUri>urn:com:microsoft:aad:b2c:elements:contract:selfasserted:1.1.0</DataUri>
</ContentDefinition>
<ContentDefinition Id="api.selfasserted.profileupdate">
<DataUri>urn:com:microsoft:aad:b2c:elements:contract:selfasserted:1.1.0</DataUri>
</ContentDefinition>
<ContentDefinition Id="api.localaccountsignup">
<DataUri>urn:com:microsoft:aad:b2c:elements:contract:selfasserted:1.1.0</DataUri>
</ContentDefinition>
<ContentDefinition Id="api.localaccountpasswordreset">
<DataUri>urn:com:microsoft:aad:b2c:elements:contract:selfasserted:1.1.0</DataUri>
</ContentDefinition>
<!--Sample: FIDO self-asserted HTML page-->
<ContentDefinition Id="api.selfasserted.fido">
<LoadUri>https://yourtenant.blob.core.windows.net/azure-ad-b2c/fido/self-asserted.html</LoadUri>
<RecoveryUri>~/common/default_page_error.html</RecoveryUri>
<DataUri>urn:com:microsoft:aad:b2c:elements:contract:selfasserted:1.1.0</DataUri>
</ContentDefinition>
<!--Sample: FIDO welcome self-asserted HTML page-->
<ContentDefinition Id="api.selfasserted.fido.welcome">
<LoadUri>https://yourtenant.blob.core.windows.net/azure-ad-b2c/fido/welcome.html</LoadUri>
<RecoveryUri>~/common/default_page_error.html</RecoveryUri>
<DataUri>urn:com:microsoft:aad:b2c:elements:contract:selfasserted:1.1.0</DataUri>
</ContentDefinition>
</ContentDefinitions>
</BuildingBlocks>
<ClaimsProviders>
<ClaimsProvider>
<DisplayName>FIDO enrollment</DisplayName>
<TechnicalProfiles>
<!--Sample: Render the FIDO enrollment wolcome page-->
<TechnicalProfile Id="SelfAsserted-FIDOEnrollmentWelcome">
<DisplayName>Welcome to FIDO enrollment</DisplayName>
<Protocol Name="Proprietary" Handler="Web.TPEngine.Providers.SelfAssertedAttributeProvider, Web.TPEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"/>
<Metadata>
<Item Key="ContentDefinitionReferenceId">api.selfasserted.fido.welcome</Item>
</Metadata>
<InputClaimsTransformations>
<InputClaimsTransformation ReferenceId="FIDOEnrollmentCreateWelcomeMessage" />
<InputClaimsTransformation ReferenceId="CreateFakeValue" />
</InputClaimsTransformations>
<InputClaims>
<InputClaim ClaimTypeReferenceId="userMessage"/>
<InputClaim ClaimTypeReferenceId="fake"/>
</InputClaims>
<OutputClaims>
<OutputClaim ClaimTypeReferenceId="userMessage" />
<OutputClaim ClaimTypeReferenceId="fake" DefaultValue="fake" />
</OutputClaims>
<UseTechnicalProfileForSessionManagement ReferenceId="SM-Noop"/>
</TechnicalProfile>
<!--Sample: Render the FIDO enrollment page-->
<TechnicalProfile Id="SelfAsserted-FIDOEnrollment">
<DisplayName>Welcome to FIDO enrollment</DisplayName>
<Protocol Name="Proprietary" Handler="Web.TPEngine.Providers.SelfAssertedAttributeProvider, Web.TPEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"/>
<Metadata>
<Item Key="ContentDefinitionReferenceId">api.selfasserted.fido</Item>
</Metadata>
<InputClaimsTransformations>
<InputClaimsTransformation ReferenceId="CopyEmailAddress" />
<InputClaimsTransformation ReferenceId="CopyDisplayName" />
<InputClaimsTransformation ReferenceId="FIDOEnrollmentCreateRegistrationMessage" />
</InputClaimsTransformations>
<InputClaims>
<InputClaim ClaimTypeReferenceId="userMessage"/>
<InputClaim ClaimTypeReferenceId="readOnlyName"/>
<InputClaim ClaimTypeReferenceId="readOnlyDisplayName"/>
<InputClaim ClaimTypeReferenceId="objectId"/>
<InputClaim ClaimTypeReferenceId="challenge"/>
</InputClaims>
<OutputClaims>
<!--Sample: Read only claims to present to be sent the authenticator-->
<OutputClaim ClaimTypeReferenceId="userMessage" />
<OutputClaim ClaimTypeReferenceId="readOnlyName" />
<OutputClaim ClaimTypeReferenceId="readOnlyDisplayName" />
<OutputClaim ClaimTypeReferenceId="objectId" />
<OutputClaim ClaimTypeReferenceId="challenge" />
<!--Sample: Claims return from the authenticator -->
<OutputClaim ClaimTypeReferenceId="extension_fido_rawId" />
<OutputClaim ClaimTypeReferenceId="clientDataJSON" />
<OutputClaim ClaimTypeReferenceId="attestationObject" />
<!--Sample: Bubble up claims from the validation technical profile-->
<OutputClaim ClaimTypeReferenceId="fido_publicKeyJwk" />
<OutputClaim ClaimTypeReferenceId="extension_fido_publicKeyJwk1" />
<OutputClaim ClaimTypeReferenceId="extension_fido_publicKeyJwk2" />
</OutputClaims>
<ValidationTechnicalProfiles>
<ValidationTechnicalProfile ReferenceId="REST-FIDOMakeCredential" />
</ValidationTechnicalProfiles>
<UseTechnicalProfileForSessionManagement ReferenceId="SM-Noop"/>
</TechnicalProfile>
<!--Sample: Render the FIDO sing-in page-->
<TechnicalProfile Id="SelfAsserted-FIDOSignIn">
<DisplayName>Welcome to FIDO enrollment</DisplayName>
<Protocol Name="Proprietary" Handler="Web.TPEngine.Providers.SelfAssertedAttributeProvider, Web.TPEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"/>
<Metadata>
<Item Key="ContentDefinitionReferenceId">api.selfasserted.fido</Item>
</Metadata>
<InputClaimsTransformations>
<InputClaimsTransformation ReferenceId="FIDOCreateAuthenticationMessage" />
</InputClaimsTransformations>
<InputClaims>
<InputClaim ClaimTypeReferenceId="userMessage"/>
<InputClaim ClaimTypeReferenceId="challenge"/>
</InputClaims>
<OutputClaims>
<!--Sample: Read only claims to present to be sent the authenticator-->
<OutputClaim ClaimTypeReferenceId="userMessage" />
<OutputClaim ClaimTypeReferenceId="challenge" />
<!--Sample: Claims return from the authenticator -->
<OutputClaim ClaimTypeReferenceId="extension_fido_rawId" />
<OutputClaim ClaimTypeReferenceId="clientDataJSON" />
<OutputClaim ClaimTypeReferenceId="userHandle" />
<OutputClaim ClaimTypeReferenceId="signature" />
<OutputClaim ClaimTypeReferenceId="authenticatorData" />
<!--Sample: Bubble up claims from the validation technical profile-->
<OutputClaim ClaimTypeReferenceId="objectId" />
<OutputClaim ClaimTypeReferenceId="signInNames.emailAddress" />
<OutputClaim ClaimTypeReferenceId="displayName" />
<OutputClaim ClaimTypeReferenceId="otherMails" />
<OutputClaim ClaimTypeReferenceId="givenName" />
<OutputClaim ClaimTypeReferenceId="surname" />
<OutputClaim ClaimTypeReferenceId="extension_fido_publicKeyJwk1" />
<OutputClaim ClaimTypeReferenceId="extension_fido_publicKeyJwk2" />
</OutputClaims>
<ValidationTechnicalProfiles>
<ValidationTechnicalProfile ReferenceId="AAD-FidoUserReadUsingObjectId" />
<ValidationTechnicalProfile ReferenceId="REST-FIDOAssertion" />
</ValidationTechnicalProfiles>
<UseTechnicalProfileForSessionManagement ReferenceId="SM-Noop"/>
</TechnicalProfile>
<TechnicalProfile Id="SelfAsserted-FIDOEnrollmentTester">
<DisplayName>Welcome to FIDO enrollment</DisplayName>
<Protocol Name="Proprietary" Handler="Web.TPEngine.Providers.SelfAssertedAttributeProvider, Web.TPEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"/>
<Metadata>
<Item Key="ContentDefinitionReferenceId">api.selfasserted</Item>
</Metadata>
<InputClaims>
<InputClaim ClaimTypeReferenceId="fido_publicKeyJwk"/>
</InputClaims>
<OutputClaims>
<OutputClaim ClaimTypeReferenceId="fido_publicKeyJwk"/>
</OutputClaims>
<UseTechnicalProfileForSessionManagement ReferenceId="SM-Noop"/>
</TechnicalProfile>
</TechnicalProfiles>
</ClaimsProvider>
<ClaimsProvider>
<DisplayName>Custom REST API</DisplayName>
<TechnicalProfiles>
<!--Sample: Call the REST API to get a signed challenge. Later, on the response, the server (RP)
checks the integrity of the challenge (whether is issued by the server, by validating the JTW token).
Also will validate the signature of the challenge, signed by FIDO authenticator. -->
<TechnicalProfile Id="REST-FIDOGetChallenge">
<DisplayName>GET a FIDO Challenge</DisplayName>
<Protocol Name="Proprietary" Handler="Web.TPEngine.Providers.RestfulProvider, Web.TPEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />
<Metadata>
<Item Key="ServiceUrl">https://yoursite.azurewebsites.net/challenge</Item>
<Item Key="AuthenticationType">None</Item>
<Item Key="SendClaimsIn">QueryString</Item>
<!-- Remove in Production-->
<Item Key="AllowInsecureAuthInProduction">true</Item>
</Metadata>
<OutputClaims>
<OutputClaim ClaimTypeReferenceId="challenge" PartnerClaimType="result" />
<!--Sample: Set the identity provider name to FIDO-->
<OutputClaim ClaimTypeReferenceId="identityProvider" DefaultValue="fido" AlwaysUseDefaultValue="true" />
</OutputClaims>
<UseTechnicalProfileForSessionManagement ReferenceId="SM-Noop" />
</TechnicalProfile>
<TechnicalProfile Id="REST-FIDOGetChallengeForSignIn">
<DisplayName>FIDO</DisplayName>
<IncludeTechnicalProfile ReferenceId="REST-FIDOGetChallenge" />
</TechnicalProfile>
<TechnicalProfile Id="REST-FIDOMakeCredential">
<DisplayName>GET a FIDO Challenge</DisplayName>
<Protocol Name="Proprietary" Handler="Web.TPEngine.Providers.RestfulProvider, Web.TPEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />
<Metadata>
<Item Key="ServiceUrl">https://yoursite.azurewebsites.net/credentials</Item>
<Item Key="AuthenticationType">None</Item>
<Item Key="SendClaimsIn">Body</Item>
<!-- Remove in Production-->
<Item Key="AllowInsecureAuthInProduction">true</Item>
</Metadata>
<InputClaims>
<InputClaim ClaimTypeReferenceId="extension_fido_rawId" PartnerClaimType="id" />
<InputClaim ClaimTypeReferenceId="clientDataJSON" PartnerClaimType="clientDataJSON" />
<InputClaim ClaimTypeReferenceId="attestationObject" PartnerClaimType="attestationObject" />
</InputClaims>
<OutputClaims>
<OutputClaim ClaimTypeReferenceId="fido_publicKeyJwk" PartnerClaimType="publicKeyJwk" />
<OutputClaim ClaimTypeReferenceId="extension_fido_publicKeyJwk1" PartnerClaimType="publicKeyJwk1" />
<OutputClaim ClaimTypeReferenceId="extension_fido_publicKeyJwk2" PartnerClaimType="publicKeyJwk2" />
</OutputClaims>
<UseTechnicalProfileForSessionManagement ReferenceId="SM-Noop" />
</TechnicalProfile>
<TechnicalProfile Id="REST-FIDOAssertion">
<DisplayName>GET a FIDO Challenge</DisplayName>
<Protocol Name="Proprietary" Handler="Web.TPEngine.Providers.RestfulProvider, Web.TPEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />
<Metadata>
<Item Key="ServiceUrl">https://yoursite.azurewebsites.net/assertion</Item>
<Item Key="AuthenticationType">None</Item>
<Item Key="SendClaimsIn">Body</Item>
<!-- Remove in Production-->
<Item Key="AllowInsecureAuthInProduction">true</Item>
</Metadata>
<InputClaims>
<InputClaim ClaimTypeReferenceId="extension_fido_rawId" PartnerClaimType="id" />
<InputClaim ClaimTypeReferenceId="clientDataJSON" />
<InputClaim ClaimTypeReferenceId="userHandle" />
<InputClaim ClaimTypeReferenceId="signature" />
<InputClaim ClaimTypeReferenceId="authenticatorData" />
<InputClaim ClaimTypeReferenceId="extension_fido_publicKeyJwk1" PartnerClaimType="publicKeyJwk1" />
<InputClaim ClaimTypeReferenceId="extension_fido_publicKeyJwk2" PartnerClaimType="publicKeyJwk2" DefaultValue="" />
</InputClaims>
<UseTechnicalProfileForSessionManagement ReferenceId="SM-Noop" />
</TechnicalProfile>
</TechnicalProfiles>
</ClaimsProvider>
<ClaimsProvider>
<DisplayName>Azure Active Directory</DisplayName>
<TechnicalProfiles>
<TechnicalProfile Id="AAD-Common">
<DisplayName>Azure Active Directory</DisplayName>
<!-- Sample: Provide objectId and appId before using extension properties.
For more information: https://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-create-custom-attributes-profile-edit-custom
Action required: Insert objectId and appId here -->
<Metadata>
<Item Key="ApplicationObjectId">1702d1ac-623c-4a4d-982d-e1dc2e51cfb2</Item>
<Item Key="ClientId">831374b3-bd50-41bf-aa54-263ec9e050fc</Item>
</Metadata>
</TechnicalProfile>
<TechnicalProfile Id="AAD-UserWriteFidoUsingObjectId">
<Metadata>
<Item Key="Operation">Write</Item>
<Item Key="RaiseErrorIfClaimsPrincipalAlreadyExists">false</Item>
<Item Key="RaiseErrorIfClaimsPrincipalDoesNotExist">true</Item>
</Metadata>
<IncludeInSso>false</IncludeInSso>
<InputClaims>
<InputClaim ClaimTypeReferenceId="objectId" Required="true"/>
</InputClaims>
<PersistedClaims>
<!-- Required claims -->
<PersistedClaim ClaimTypeReferenceId="objectId"/>
<!-- Sample: Writ FIDO claims to the user account -->
<PersistedClaim ClaimTypeReferenceId="extension_fido_publicKeyJwk1" DefaultValue="" />
<PersistedClaim ClaimTypeReferenceId="extension_fido_publicKeyJwk2" DefaultValue=""/>
<PersistedClaim ClaimTypeReferenceId="extension_fido_rawId" DefaultValue=""/>
</PersistedClaims>
<IncludeTechnicalProfile ReferenceId="AAD-Common"/>
</TechnicalProfile>
<!-- <TechnicalProfile Id="AAD-FidoUserReadUsingObjectId">
<Metadata>
<Item Key="UserMessageIfClaimsPrincipalDoesNotExist">We can not find such an account</Item>
</Metadata>
<IncludeTechnicalProfile ReferenceId="AAD-UserReadUsingObjectId" />
</TechnicalProfile> -->
<TechnicalProfile Id="AAD-FidoUserReadUsingObjectId">
<Metadata>
<Item Key="Operation">Read</Item>
<Item Key="RaiseErrorIfClaimsPrincipalDoesNotExist">true</Item>
</Metadata>
<IncludeInSso>false</IncludeInSso>
<InputClaims>
<InputClaim ClaimTypeReferenceId="extension_fido_rawId" Required="true" />
</InputClaims>
<OutputClaims>
<OutputClaim ClaimTypeReferenceId="objectId" />
<!-- Optional claims -->
<OutputClaim ClaimTypeReferenceId="signInNames.emailAddress" />
<OutputClaim ClaimTypeReferenceId="displayName" />
<OutputClaim ClaimTypeReferenceId="otherMails" />
<OutputClaim ClaimTypeReferenceId="givenName" />
<OutputClaim ClaimTypeReferenceId="surname" />
<!--Sample: FIDO data-->
<OutputClaim ClaimTypeReferenceId="extension_fido_publicKeyJwk1" />
<OutputClaim ClaimTypeReferenceId="extension_fido_publicKeyJwk2" />
</OutputClaims>
<IncludeTechnicalProfile ReferenceId="AAD-Common" />
</TechnicalProfile>
<TechnicalProfile Id="AAD-Tester">
<Metadata>
<Item Key="Operation">Read</Item>
<Item Key="RaiseErrorIfClaimsPrincipalDoesNotExist">true</Item>
</Metadata>
<IncludeInSso>false</IncludeInSso>
<InputClaims>
<InputClaim ClaimTypeReferenceId="email"
PartnerClaimType="signInNames" Required="true"
DefaultValue="12@mfa.com" />
</InputClaims>
<OutputClaims>
<!-- Optional claims -->
<OutputClaim ClaimTypeReferenceId="signInNames.emailAddress"/>
<OutputClaim ClaimTypeReferenceId="displayName"/>
<OutputClaim ClaimTypeReferenceId="otherMails"/>
<OutputClaim ClaimTypeReferenceId="givenName"/>
<OutputClaim ClaimTypeReferenceId="surname"/>
<OutputClaim ClaimTypeReferenceId="objectId"/>
<OutputClaim ClaimTypeReferenceId="email"/>
<OutputClaim ClaimTypeReferenceId="identityProvider"/>
</OutputClaims>
<IncludeTechnicalProfile ReferenceId="AAD-Common"/>
</TechnicalProfile>
</TechnicalProfiles>
</ClaimsProvider>
</ClaimsProviders>
</TrustFrameworkPolicy>