AuthenticationResult.IsSuccessful started returning false for google

后端 未结 1 702
旧时难觅i
旧时难觅i 2020-12-17 06:55

Today, without any change on my live site, logging in with the Google external login provider stopped working. This only happens to users that have a google login, other pro

相关标签:
1条回答
  • 2020-12-17 07:22

    Well, it has been a few weeks, so I thought I would document the steps I took to solve this in case it helps someone else. As background information, I am using Visual Studio 2012.

    1. Found that OpenID 2.0 + OAuth 1.0 was deprecated. See here. The service has not been discontinued, but I was concerned that I was seeing some degradation in service since this is now an obsolete approach.
    2. Upgraded from MVC4 to MVC5. See here.
    3. Used the DotNetOpenAuth.GoogleOAuth2 library. See here.
    4. Converted my site to https. See here and here.

    Now that I have done that everything seems to be working fine.

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