complete and correct directions for getting Google OAuth to return an access_token and refresh_token

I am looking to write a simple "Hello world" application using Google OAuth 2.0, however I have tried all 10 of the first 10 Google hits for "Google OAuth 2.0 tutorial", and for each of them, I foll

View details »

What Google’s Oauth2 redirect uri to use on the server-side for js and android clients?

I'm using server side for getting access_token and refresh_token by sending google access code. Google access code I take from js on the website and from android app. The problem is on server side

View details »

Google's OAuth2 login_hint parameter does not work with the sub identifier despite what the docs say?

I'm setting login_hint to a previously retrieved sub identifier (unique Google ID) as part of an authorization request url, but it doesn't select the appropriate account. It does do it if instead of

View details »

Cannot verify auth code with one time google on iOS, android?

I'm using Google API to quick login. The server use module 'google-auth-library' Nodejs. const auth = new OAuth2Client( googleConfig.clientId, googleConfig.clientSecret, googl

View details »

How to get user id from authencicated credential

How can I get the id or email of user from the authenticated credential? I use the sample code like this: InputStream in = GmailReplyService.class.getResourceAsStream(CREDENTIALS_FILE_PATH); if (i

View details »

Can a Google Apps Script running as an editor add-on use the https://www.googleapis.com/auth/drive.file scope?

I'm creating a Google Docs add-on in Google Apps Script, and some of the functionality requires that I use the Google Drive advanced service as described in https://developers.google.com/apps-script

View details »