Questions tagged [google-oauth-java-client]

For questions about the use of the Google OAuth Client Library for Java.

The Google OAuth Client Library for Java provides Java classes and methods for both OAuth 1.0a and OAuth 2.0.

This library allows a Java application to gain permission from a user to access the personal data they store with an OAuth provider such as Twitter, Facebook, Instagram, and many others. The user is directed by the OAuth library to the provider site and must confirm to the provider that they are happy for the requested information to be shared. If permission is granted then an access token is made available to the OAuth library and requests for the granted information can be made successfully.

See for more information about the OAuth standards.

This tag should be used for questions about writing Java software which uses the Google OAuth Client Library for Java, for either OAuth 1.0a or OAuth 2.0.

143 questions
0
votes
1 answer

Google get email proper scopes

A lot of the documentation on google talks about the email scope to replace the https://www.googleapis.com/auth/userinfo.email, pared with the endpoint https://www.googleapis.com/userinfo/v2/me. Documentation found here…
0
votes
1 answer

facebook and google plus user verification in server side with the access token send from javascript

Am using google plus and facebook javascript sign in feature for my website. I am able to get the user details and the access token in javascript. I want to validate the user in server side(java) also. Is it possible to do the same with the help of…
0
votes
1 answer

google-oauth calendar returns 401 error

I tried the calendar-appengine-sample on google calendar api java sample and when I used the client_secrets.json for running in localhost it always give me back my calendar list, but when I use the client_secrets.json to be run on google app engine,…
user1012283
  • 343
  • 2
  • 13
0
votes
1 answer

Google-oauth:Not authorized to request the scopes

I implemented Google oauth1 in my web app and it was working fine some two months ago as i was busy with some other stuff, today i have to test the app but I got the following error Error: invalid_request Not authorized to request the…
SSH
  • 1,609
  • 2
  • 22
  • 42
0
votes
1 answer

Google Analytics Java API "401 Unauthorized Login Required" error

I try to get data from GA using java libs and service account. I`ve made all required settings: activate Analytics API in Cloud console, generate service account, get private key, add generated developer e-mail with read rights in GA user…
0
votes
1 answer

How do I control Token Response Expiry time for google API access

I have problem extending the standard one hour for validity of google access token. One part of my code is getting authorization from the user, using the GoogleAuthorizationCodeFlow as per Google recommendation. This works fine and gives me a…
Yves Nicolas
  • 6,901
  • 7
  • 25
  • 40
0
votes
1 answer

Google Oauth2 sign in using javascript API is not working with IE

I am using google oauth2 javascript api to authenticate an user to my app. This is working fine in Firefox and chrome, but not in IE. I have tried in IE 8, 9, and 10 but in vain. I searched a lot in net but dint get any solution to it. I have gone…
0
votes
1 answer

How do I get refreshToken?

I want to get refreshToken for login off-line. I already get access token, but I didn't get refreshToken. here is my source code : public void OpenBrower(){ httpTransport = new NetHttpTransport(); jsonFactory = new…
1 2 3
9
10