Questions tagged [authsub]

Google AuthSub authentication for Google endpoints.

62 questions
9
votes
1 answer

Pulling Gmail's 'Other Contacts' group via the Google Contacts API

I'm trying to pull my Gmail contacts, so I can auto-complete on the 3,000 or so contacts I have within Gmail. Using the Google Contacts Data API, I'm able to get a list of (1) default contacts and (2) groups. However, (1) the default contacts…
AlexeyMK
  • 6,245
  • 9
  • 36
  • 41
9
votes
4 answers

How to get Google Analytics data using OAuth?

Hy guys, we are developing a system which will provide users with access to Google Analytics. I'm trying to implement it in the way so user don't need to enter their Google login credentials on our site, so trying to get it work using their login. I…
Burjua
  • 12,506
  • 27
  • 80
  • 111
9
votes
1 answer

Programmatically change gmail status via OAuth or Authsub

I would like my application to programmatically update my user's gmail/google talk status on their behalf but I dont want to store their password because of the privacy risk Does anyone know if/how it is possible to use Oauth or some other form of…
Aneto
  • 115
  • 1
  • 7
8
votes
1 answer

Programmatically Revoke OAuth token for google account

So here at the end of the page says a way to be able to revoke this token via the AuthSub api (the old api). I manage the whole authentication system with the new api OAuth and when I try to revoke the token with the authsub steps its just sending…
Hassek
  • 8,715
  • 6
  • 47
  • 59
7
votes
1 answer

Permanent access token with YouTube api?

I have gone through the google documentations for Oauth and AuthSub methods for authenticating and I've tried to google this without results. For Facebook, you can request an access token which is of length lifetime, meaning you won't have to be…
user787497
6
votes
4 answers

Google Authentication API: How to get the user's gmail address

I've been studying the Google authentication API (AuthSub)... My question is, how do I get the user's account information (at least their Gmail address) after the authentication has passed? Because currently, all I get back from the authentication…
user15974
  • 63
  • 1
  • 2
  • 4
6
votes
1 answer

Creating google oauth X.509 certificate in PEM format within Mac OS X

I am currently in the process of setting up the Google oauth for my site and I was wondering if it is possible to generate a X.509 certificate in PEM format within MAC OS X via terminal? Google provides this page as…
Kevin Jung
  • 2,973
  • 7
  • 32
  • 35
5
votes
4 answers

Gdata JavaScript Authsub continues redirect

I am using the JavaScript Google Data API and having issues getting the AuthSub script to work correctly. This is my script currently: google.load('gdata', '1'); function getCookie(c_name){ if(document.cookie.length>0){ …
Krustal
  • 518
  • 1
  • 4
  • 12
4
votes
1 answer

What scope do I use to grant imap access to gmail with oauth?

I've not worked with oAuth before but now I'm building a web app which need to fetch all mail from a specific label in gmail and using IMAP with oAuth seems like the right way to go. I've only just started but I've registered my development domain…
Hultner
  • 3,710
  • 5
  • 33
  • 43
4
votes
2 answers

How does one retrieve the email address of a user with GData?

I'm trying to use GData to retrieve the email address, real name, and profile URL of the user that just authorized my site using Google OAuth. We know how to request it using Google's OpenID flow, but the OpenID flow has the severe limitation that…
sblom
  • 26,911
  • 4
  • 71
  • 95
4
votes
2 answers

Google Calendar Events Response is Empty

We are fetching google calendar events through OAuth2 tokens with Google Calendar API V3 to our customers, but for some of customers' calendar getting empty response. We got empty response for the same calendar in Google OAuth Playground. { …
4
votes
1 answer

AuthSub session token never expires; security problem?

I'm using GData's AuthSub so that my administrative application doesn't need to store user/password information. I just came to the point in the documentation where I learned how to exchange the first, single-use token, for a session token…
Neil C. Obremski
  • 18,696
  • 24
  • 83
  • 112
3
votes
1 answer

Valid google account OAuth 2 token in Android

I have a problem with google account OAuth 2 tokens. We need token for access account information (numeric id, email, user name) After request getAuthToken(account, SCOPE, options, mContext, getAuthTokenCallback, null) in AccountManager, token is…
user1281506
  • 31
  • 1
  • 2
3
votes
1 answer

Get Google AuthSub token from android app

I'm writing an android program which must interact with google documents, so I have watched this sample, but it uses an AuthSub token. How can I get an AuthSub Token from an android app?
Aram
  • 695
  • 1
  • 5
  • 20
3
votes
2 answers

com.google.gdata.util.AuthenticationException: Unknown authorization header for GCalendar

We are using Google Calendar API v2 and V3 with authsub & 2LO and OAuth2.0 authentication for our customers. Most of our customers getting authorization exception frequently. Some are getting inconsistently from last one week. On analyzing our logs,…
1
2 3 4 5