Skip to content

Commit 0a18ebf

Browse files
authored
Update one-time-password-technical-profile.md
fixes https://github.com/MicrosoftDocs/azure-docs/issues/49392
1 parent 57b9719 commit 0a18ebf

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

articles/active-directory-b2c/one-time-password-technical-profile.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ manager: celestedg
99
ms.service: active-directory
1010
ms.workload: identity
1111
ms.topic: reference
12-
ms.date: 02/10/2020
12+
ms.date: 03/05/2020
1313
ms.author: mimart
1414
ms.subservice: B2C
1515
---
@@ -128,13 +128,14 @@ The **OutputClaimsTransformations** element may contain a collection of **Output
128128

129129
### Metadata
130130

131-
The following settings can be used to configure the error message displayed upon code verification failure:
131+
The following settings can be used to configure the error message displayed upon code verification failure. The metadata should be configured in the [self-asserted](self-asserted-technical-profile.md) technical profile.
132132

133133
| Attribute | Required | Description |
134134
| --------- | -------- | ----------- |
135135
| UserMessageIfSessionDoesNotExist | No | The message to display to the user if the code verification session has expired. It is either the code has expired or the code has never been generated for a given identifier. |
136136
| UserMessageIfMaxRetryAttempted | No | The message to display to the user if they've exceeded the maximum allowed verification attempts. |
137137
| UserMessageIfInvalidCode | No | The message to display to the user if they've provided an invalid code. |
138+
|UserMessageIfSessionConflict|No| The message to display to the user if the code cannot verified.|
138139

139140
### Returning error message
140141

@@ -154,9 +155,6 @@ The following example `TechnicalProfile` is used for verifying a code:
154155
<Protocol Name="Proprietary" Handler="Web.TPEngine.Providers.OneTimePasswordProtocolProvider, Web.TPEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />
155156
<Metadata>
156157
<Item Key="Operation">VerifyCode</Item>
157-
<Item Key="UserMessageIfInvalidCode">Wrong code has been entered.</Item>
158-
<Item Key="UserMessageIfSessionDoesNotExist">Code has expired.</Item>
159-
<Item Key="UserMessageIfMaxRetryAttempted">You've tried too many times.</Item>
160158
</Metadata>
161159
<InputClaims>
162160
<InputClaim ClaimTypeReferenceId="identifier" PartnerClaimType="identifier" />

0 commit comments

Comments
 (0)