Last post Aug 02, 2018 06:03 AM by Brando ZWZ
Aug 01, 2018 10:02 AM|priya.renjith|LINK
I am having a an application in mvc and jquery which is deployed to the WebApp in azure.
It is using the AzureActiveDirectory to login.
After login using the active directory, i am getting the following error instead of the app start page . But when i enter the url again I am getting the app start page.
IDX10311 : RequireNonce is 'true'(default) but validationContext.Nonce is null.
A Nonce cannot be validated.
If u dont need to check the nonce, set OpenIdConnectProtocolValidator.RequireNonce to false.
How can i resolve this issue. Please help.
Aug 02, 2018 06:03 AM|Brando ZWZ|LINK
According to your description, I couldn't directly find the reason why you get the IDX10311 issue.
I suggest you could firstly check you have set the right azure AD reply URLs instead of the localhost.
About how to set the azure AD redirect url, you could refer to below article.
When you try to access your app using the https URL, it sets a cookie with a unique number(nonce) in your browser and hits Azure AD for authentication. After authentication, the browser has to give access to that cookie. But since the sign on URL and reply
URL are different the browser does not recognize your app and does not give access to that cookie and hence the application throws this error.