如何在c#MVC中从Google+登录迁移到Google登录 [英] How to migrate from Google+ Login to Google Sign In in c# MVC
问题描述
我的网站允许用户使用其Google帐户注册和登录. 我的c#MVC应用使用Microsoft.AspNet.Identity.Owin提供的模板功能.
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.
我已经收到来自Google的电子邮件,他们正在关闭Google+.该电子邮件据说将转移到Google登录.
I have received an email from Google that they are shutting down Google+. The email said to transfer over to Google Sign In.
是否有任何好的文章为使用Owin功能的c#MVC应用程序解释此主题? 任何从何处开始的指针将不胜感激.
Any good articles that explain this topic for c# MVC apps using Owin features? Any pointers where to start would be greatly appreciated.
谢谢, 迈克尔
推荐答案
只需将软件包Microsoft.Owin.Security.Google
更新到版本4.0.1
.
Just update the package Microsoft.Owin.Security.Google
to version 4.0.1
.
您可以在此处了解更多信息.
You can read more here.
或者在.NET Framework 4+上找到变通办法,此处
Or see a workaround for .NET Framework 4+ here.
这篇关于如何在c#MVC中从Google+登录迁移到Google登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!