Questions tagged [authsub]

Google AuthSub authentication for Google endpoints.

62 questions
1
vote
2 answers

Get AuthSub current user in Zend GData

I'm using Zend Gdata to connect users to a shared Google Docs spreadsheet that serves as a backend to a custom interface. I need to track which user most recently changed the value in a particular column. I'm not aware of a way to do this using…
Brent
  • 11
  • 2
1
vote
2 answers

How do I seamlessly authenticate users to use services associated with a Google Apps account?

Hi guys I'm building a Google Apps based solution. Basically I'm setting it up such that: When a Google Apps account holder installs it he/she enters the authentication details for a single Googles Apps account to be used - that account would be…
Ali
  • 7,353
  • 20
  • 103
  • 161
1
vote
2 answers

How do I get secure AuthSub session tokens in PHP?

I am using the Google/YouTube APIs to develop web application which needs access to a users YouTube account. Normal unsecure requests work fine and I can upgrade one time tokens to session tokens without any hassle. The problem comes when I try and…
robertdd
  • 325
  • 1
  • 8
  • 22
1
vote
1 answer

Syncing google calendar with custom calendar

I am using google calendar API to sync google calendar with our custom calendar. Right now I am trying it with a crude way by asking user if he/she wants to sync their calendar with google or not. If they say "yes" , I show them login screen where…
yogsma
  • 10,142
  • 31
  • 97
  • 154
1
vote
2 answers

AuthSub with PHP

Can I use AuthSub with PHP ? I want to use Google API with PHP but don't want to install Zend Framework.I'm goolging and not found with AuthSub class for PHP.
saturngod
  • 24,649
  • 17
  • 62
  • 87
1
vote
1 answer

HTTP/1.1 401 Token invalid - AuthSub token has wrong scope

I get this error when trying to get a feed from Google Analytics API. However, using the same token I get successful feeds from Google Calendar. The code between the two is exactly the same except for the feed url. So it must have something to do…
M Schenkel
  • 6,294
  • 12
  • 62
  • 107
1
vote
0 answers

What is signature key in Authorization Authsub

I want to know what is the signature String in authorization of Google Authsub? I run this command : openssl req -x509 -nodes -days 365 -newkey rsa:1024 -sha1 -subj \ '/C=US/ST=CA/L=Mountain View/CN=www.example.com' -keyout \ myrsakey.pem -out…
mathlearner
  • 7,509
  • 31
  • 126
  • 189
0
votes
1 answer

Create .pem file for Google Manage Domains

I used this code # Generate the RSA keys and certificate openssl req -x509 -nodes -days 365 -newkey rsa:1024 -sha1 -subj \ '/C=US/ST=CA/L=Mountain View/CN=www.example.com' -keyout \ myrsakey.pem -out /tmp/myrsacert.pem From…
Andy
  • 201
  • 1
  • 3
  • 10
0
votes
1 answer

GWT & GDATA: given a single use token, trying to retrieve a list of documents

I'm following this guide: http://code.google.com/intl/it-IT/apis/documents/docs/2.0/developers_guide_java.html I just need to retrieve a token and use it to get a list of documents, so i used AuthSub to get a single use token, and this seems to…
Luigi Cortese
  • 10,841
  • 6
  • 37
  • 48
0
votes
2 answers

AuthSub: (404, 'Not Found', 'Unknown user.')

I try to use Picasa API with AuthSub. My code: GD_CLIENT = gdata.photos.service.PhotosService() def login(request): def GetAuthSubUrl(): callback = 'http://127.0.0.1:8000/callback' scope = 'https://picasaweb.google.com/data/' …
I159
  • 29,741
  • 31
  • 97
  • 132
0
votes
1 answer

Rails Google Data List API AuthSub Token Invalid

I created an authentication using the Documents List API. I have successfully authenticated and can get a token that allows me to see all the documents the user has, but I cannot upload a new document. I suspect it may be because I am using secure =…
Justin Time
  • 485
  • 6
  • 18
0
votes
2 answers

Problem with AuthSubSessionToken PHP

if I try to get a Session Token from google the server doesn't respond.. The code that I use is this: $ch = curl_init("https://www.google.com/accounts/AuthSubSessionToken"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch,…
Michele
  • 3
  • 1
0
votes
1 answer

Authsub authentication with the GAPI code for Google Analytics API

I'm building an application that needs to authenticate users using Authsub. I have the authsub token already stored as $sessiontoken I want to use this with the Google Analytics PHP interface (GAPI) but it only provides support for hard coded…
hud
  • 203
  • 1
  • 5
  • 13
0
votes
2 answers

Get Google contacts via AuthSub c#

Does any one have a working example of getting google contact via AuthSub in c# I have tried this url , but i was not able to complete it.
vamsivanka
  • 792
  • 7
  • 16
  • 36
0
votes
1 answer

AuthSub nextURL on GAE

I am looking at http://code.google.com/intl/sv-SE/apis/gdata/docs/auth/authsub.html and http://code.google.com/intl/sv-SE/appengine/articles/java/retrieving_gdata_feeds.html. My code looks like this to generate the URL String nextUrl =…
Fredrik Widerberg
  • 3,068
  • 10
  • 30
  • 42