“No OpenID endpoint found” on Azure Website

前端 未结 2 421
慢半拍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:01

    I had this function in global.asax:

    AreaRegistration.RegisterAllAreas();
    

    After removing this line, all works perfectly.

    I've added some areas in my app, this function was added automatically by VS2012.

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题