Share via

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 Security | Microsoft Entra | Microsoft Entra ID

Your answer

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