如何在ASP.NET WebForms(Azure AD)应用程序中修复IDX21323
每次用户登录(通过Azure Active Directory)每天首次登录系统,系统都会将用户重定向到以下方式:
IDX21323:需求是'System.Boolean'。 openIDConnectProtocolValidationContext.nonce是null,openIDConnectProtocol.validatedIdtoken.payload.nonce并非无效。 nonce无法验证。如果您不需要检查NONCE,请将OpenIDConnectProtocolValidator.requirenonce设置为“ false”。请注意,如果发现“ nonce”将进行评估
我已经尝试使用这些,但似乎这些解决方案仅适用于ASP.NET MVC
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
几年前,我收到了一个类似的问题,我通过在global.aspx.cs文件中定义一个空session_start方法来解决
您可以阅读有关此解决方法的更多详细信息的信息:
https://github.com/identityserver/indistityserver/indistityserver/indistityserver3/542#issuecomment--suecomment-745798842
https://github.com/aspnet/aspnet/aspnet/aspnetkatana/aspnetkatana/saspnetkatana/saspnetkatana/70#issuecocomment-3466868684444444444444444444444444444444444444444444444444444444444444444444年
I got a similar issue couple of years back which I'd resolved by defining an empty Session_Start method in Global.aspx.cs file
You can read about this workaround's more details at following github threads:
https://github.com/IdentityServer/IdentityServer3/issues/542#issuecomment-74579842
https://github.com/aspnet/AspNetKatana/issues/70#issuecomment-346853448