Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RequireNonce is true (default) but validationContext.Nonce is null

Tags:

c#

openid

nonce

I have an app running in azure using Azure active directory. Some of the users have just reported getting this error trying to access the app. I can access it ok, so can many other users, its only certain users that are having the issue, heres the error message

IDX10311: RequireNonce is true (default) but validationContext.Nonce is null. A Nonce cannot be validated. If you dont need to check the nonce, set OpenIdConnectProtocolValidator.RequireNonce to false

Ive googled it but I cant find a solution, has anyone else experienced this problem ? How Can I fix it ?

like image 939
proteus Avatar asked Sep 08 '17 14:09

proteus


1 Answers

I had the same problem but switching back the Microsoft.Owin.Security.OpenIdConnect to version 3.0.1 solved the issue

OWIN OpenIdConnect Middleware IDX10311 nonce cannot be validated

like image 146
Raja Mouli Ankireddy Avatar answered Sep 25 '22 09:09

Raja Mouli Ankireddy