“No OpenID endpoint found” on Azure Website

前端 未结 2 425
慢半拍i
慢半拍i 2020-12-11 05:25

I have a strange issue with a MVC 3 app running as an Azure Website. I have had issues with Azure in the past, but the new Website concept works almost perfectly, except for

2条回答
  •  南笙
    南笙 (楼主)
    2020-12-11 06:08

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

    ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3;
    

    In some Azure configurations this has been shown to resolve the issue. Please let us know if this resolves your issue as well.

提交回复
热议问题