突然我们的“使用linkedin登录”由于某些原因而停止工作,Authentication.GetExternalLoginInfo()现在每次都返回null,而facebook和google返回带有登录信息的正确结果。我已经尝试调试该问题,但我似乎无法弄清为什么其他所有人都能正常工作,而Linkedin无法正常工作。
我没有足够的想法来检查或尝试调试,有人对LinkedIn遇到类似的问题吗?
答案 0 :(得分:1)
LinkedIn将其最低TLS版本升级到1.2。(参考:https://www.linkedin.com/pulse/phase-two-our-tls-10-11-deprecation-plan-miles-mulcare/)
将其放入“启动”的ConfigureAuth方法中
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;