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.
19,657 questions
{count} votes