登录到谷歌没有的Google+登录按钮,但用户凭据 [英] Login to Google without Google+ login button but user credentials

查看:602
本文介绍了登录到谷歌没有的Google+登录按钮,但用户凭据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个具体的问题,应用程序是只为一组人,他们的谷歌凭据是我的服务器上。我做一个登录到我的服务器,查找的谷歌凭据,并送他们回来,创建一个OAuth认证与谷歌服务交互。 (因为我不希望该应用是设备具体的我想用帐户高于登记我的设备,从而彻底失败的G +登录机制的除外) 目前我使用的是德precated客户身份的机制,其中我传递的uname和pwd来的 G-数据的Java客户端

I have a specific problem, the application is only for a set of people whose Google credentials are on my server. I make a login to my server, look-up the Google credentials and send them back and Create an OAuth authentication to interact with Google services. (Because I don't want the app to be device specific I want to use accounts other than those registered on my device, which completely fails in a G+ sign in mechanism) Currently I use a Deprecated Client ID mechanism wherein I pass the Uname and Pwd to g-data java client

什么是preferred的方式,如果有任何其他的方式来实现我想要什么?

What would be the preferred way and if there are any other ways to achieve what I want?

推荐答案

YouTube不希望支持代表用户的用户名/密码登录的基础,因为这将引入各种安全问题。你应该使用OAuth从设备时可能。你不应该在服务器上缓存用户密码。

YouTube does not want to support username/password based login on behalf of users, because this introduces all kinds of security concerns. You should use OAuth from a device when possible. You should NOT be caching user passwords on your server.

这篇关于登录到谷歌没有的Google+登录按钮,但用户凭据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆