How to migrate from Google+ Login to Google Sign I

2019-05-18 13:47发布

问题:

My web site allows users to register and log in with their Google Account. My c# MVC app uses the feature the template offered using Microsoft.AspNet.Identity.Owin.

I have received an email from Google that they are shutting down Google+. The email said to transfer over to Google Sign In.

Any good articles that explain this topic for c# MVC apps using Owin features? Any pointers where to start would be greatly appreciated.

thanks, Michael

回答1:

Just update the package Microsoft.Owin.Security.Google to version 4.0.1.

You can read more here.

Or see a workaround for .NET Framework 4+ here.