Nonce Error Using OpenIdConnect for Authentication with DXC

  • Updated

Issue Desciption:

After submitting the Form with an attachment(s), when someone clicks on the link in the body of the email, they will receive the error below:

Error on attachment message: 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.


The solution:

Create a page rule in CloudFlare to bypass origin cache, set CloudFlare page rules "Origin Cache Control" to "On".