AD-B2C: Is it possible to prevent full error message in redirect URL?

RPG 0 Reputation points
2023-03-17T07:01:09.1033333+00:00

The application can not handle this long error message. Is it possible to only provide the ErrorType and ErrorID - I've marked the part I want to keep**(LoginError=IDX21323)**:

LoginError=IDX21323:+RequireNonce+is+'True'.+OpenIdConnectProtocolValidationContext.Nonce+was+null,+OpenIdConnectProtocol.ValidatedIdToken.Payload.Nonce+was+not+null.+The+nonce+cannot+be+validated.+If+you+don't+need+to+check+the+nonce,+set+OpenIdConnectProtocolValidator.RequireNonce+to+'false'.+Note+if+a+'nonce'+is+found+it+will+be+evaluated

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,679 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.