Login to Google without Google+ login button but u

2019-03-05 19:34发布

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条回答
看我几分像从前
2楼-- · 2019-03-05 20:17

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.

查看更多
登录 后发表回答