DX21323: RequireNonce is 'System.Boolean'


I’ve been getting this error in a web application i’m developing:

DX21323: RequireNonce is ‘System.Boolean’. 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.*

How can I fix this?
If I need to give more information just let me know what.

Kind regards