Skip to content

Commit 1e753a9

Browse files
authored
Merge pull request #118881 from takuyateraoka/main
Fix a error responses example
2 parents 17d3f1f + 139d157 commit 1e753a9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/active-directory-b2c/openid-connect.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Error responses can also be sent to the `redirect_uri` parameter so that the app
9494
```http
9595
GET https://jwt.ms/#
9696
error=access_denied
97-
&error_description=the+user+canceled+the+authentication
97+
&error_description=AADB2C90091%3a+The+user+has+cancelled+entering+self-asserted+information.%0d%0aCorrelation+ID%3a+xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx%0d%0aTimestamp%3a+xxxx-xx-xx+xx%3a23%3a27Z%0d%0a
9898
&state=arbitrary_data_you_can_receive_in_the_response
9999
```
100100

@@ -202,8 +202,8 @@ Error responses look like:
202202

203203
```json
204204
{
205-
"error": "access_denied",
206-
"error_description": "The user revoked access to the app."
205+
"error": "invalid_grant",
206+
"error_description": "AADB2C90080: The provided grant has expired. Please re-authenticate and try again. Current time: xxxxxxxxxx, Grant issued time: xxxxxxxxxx, Grant expiration time: xxxxxxxxxx\r\nCorrelation ID: xxxxxxxx-xxxx-xxxX-xxxx-xxxxxxxxxxxx\r\nTimestamp: xxxx-xx-16 xx:10:52Z\r\n"
207207
}
208208
```
209209

@@ -279,8 +279,8 @@ Error responses look like:
279279

280280
```json
281281
{
282-
"error": "access_denied",
283-
"error_description": "The user revoked access to the app.",
282+
"error": "invalid_grant",
283+
"error_description": "AADB2C90129: The provided grant has been revoked. Please reauthenticate and try again.\r\nCorrelation ID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\r\nTimestamp: xxxx-xx-xx xx:xx:xxZ\r\n",
284284
}
285285
```
286286

@@ -318,4 +318,4 @@ To set the required ID Token in logout requests, see [Configure session behavior
318318

319319
## Next steps
320320

321-
- Learn more about [Azure AD B2C session](session-behavior.md).
321+
- Learn more about [Azure AD B2C session](session-behavior.md).

0 commit comments

Comments
 (0)