且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

“未找到 OpenID 端点"在 Azure 网站上

更新时间:2022-11-05 21:11:04

在调用 OpenIdRelyingParty.CreateRequest 之前尝试将此代码添加到您的网站:

Try adding this code to your web site before calling OpenIdRelyingParty.CreateRequest:

ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3;

在某些 Azure 配置中,这已被证明可以解决问题.

In some Azure configurations this has been shown to resolve the issue.