Login to Google without Google+ login button but user credentials

邮差的信 提交于 2019-12-04 06:27:19

问题


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

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


回答1:


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.



来源:https://stackoverflow.com/questions/23010509/login-to-google-without-google-login-button-but-user-credentials

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!