使用google登录,但不能使用google +登录 [英] Sign in with google, but not google+
问题描述
我有一个网络应用程序,试图允许我的用户使用google登录作为注册方法.
I have a web app where I'm trying to allow my users to sign in with google as a registration method.
在他们的API上,我发现: https://developers.google.com/+/web /signin/但这仅看起来可以使用google +登录.我知道他们基本上是同一回事,但是如果没有google +的用户单击该帐户进行登录,它将要求他们创建一个google +帐户.
On their API I found: https://developers.google.com/+/web/signin/ But that only looks like you can sign in with google+. I know they're basically the same thing, but if a user who doesn't have google+ clicks that to sign in, it asks them to create a google+ account.
是否可以仅使用google而不使用google +登录?
Is there a way to sign in with just google and not google+?
推荐答案
您可能正在寻找Google oAuth API:-
You are probably looking for Google oAuth API:-
https://developers.google.com/accounts/docs/OAuth2
这篇关于使用google登录,但不能使用google +登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!