Hi, I am trying to integrate Okta with my existing .net web application (it is not a .NET core or MVC application). We are using OktaMVCoptions in the startup page (not the openidconnect configuration). When I run the application in the local host, it redirects to my staging okta URL. When i give my credentials and click on login the below error is displayed. Tried many options from google , but could not resolve.
Request your help in this regard.
IDX21323: 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.*
I suggest checking if you are using a custom authorization server or org authorization server. The AuthorizationServerId property is set to default by default. If you are not using a developer preview org or do not have the API Access Management feature, then you may not have a custom authorization server named default.