Authenticate programmatically to Google with OAuth2
问题 How can I authenticate programmatically to Google? Now that ClientLogin (https://developers.google.com/accounts/docs/AuthForInstalledApps) is deprecated, how can we perform a programmatic authentication to Google with OAuth2? With ClientLogin we could perform a post to https://www.google.com/accounts/ClientLogin with email and password parameters and obtain the authentication token. With OAuth2 i can't find a solution! # My app is a java background process. I saw, following this link: