zenpc / gdata-javascript-client

Automatically exported from code.google.com/p/gdata-javascript-client
0 stars 0 forks source link

OAuth Proxy for multiple scopes does not proper store the second scope token #27

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
After authorizing both services, only one has a valid token stored

The oauth node was defined for contact and calendar access

...
The setOnLoadCallback assign "google" service for gdata objects

google.gdata.calendar.CalendarService('contactsearch');
calendar.useOAuth('google');
contacts = new google.gdata.contacts.ContactsService('contactsearch');
contacts.useOAuth('google');

Authentication display both services and calendar data loading is working   
fine. But contacts has null token (checked by checklogin)

Original issue reported on code.google.com by ma...@zoqui.com on 24 Nov 2010 at 1:32