Just receiving the traditional, for invalid access (I'm not even using authsub... I use 2LO):
<H1>Token invalid - Invalid AuthSub token.</H1> <H2>Error 401</H2> On 23 May 2011 16:30, Alain Vongsouvanh <[email protected]> wrote: > Hello Carlos, > > Do you get a specific error code and/or message? That would help us > investigate the issue. > By looking at your code, I don't see anything missing, but having the > error message can help :-). > > Best, > Alain > > On Mon, May 23, 2011 at 4:57 AM, Carlos Ricardo Santos > <[email protected]> wrote: > > Hi, sorry to bother again. > > > > I'm not being able to impersonate my domain users, any advice? > > My 2L OAuth is currently working for everything, even retrieving my > > own contacts. > > > > Maybe a missing scope on manifest? > > > > Here's a snippet of my auth and retrieve: > > > > _cclient=gdata.contacts.client.ContactsClient(source=APP_NAME) > > _cclient.ssl = True > > _cclient.auth_token = > > gdata.gauth.TwoLeggedOAuthHmacToken( GAM_CONSUMER_KEY, > > > > GAM_CONSUMER_SECRET, > > > > user_email_to_impersonate) > > feed=_cclient.GetContacts() > > #print feed > > > > > > Thanks in advance > > > > On May 20, 7:44 pm, Alain <[email protected]> wrote: > >> If you are a domain admin and the contacts you want to retrieve belong > to a > >> user of your domain, you can use 2-Legged OAuth< > http://code.google.com/apis/accounts/docs/OAuth.html#GoogleAppsOAuth>to > request the contacts by "impersonating" the user. > >> > >> I hope this helped! > >> Best, > >> Alain > > > > -- > > You received this message because you are subscribed to the Google > > Groups "Google Contacts, Shared Contacts and User Profiles APIs" group. > > To post to this group, send email to > > [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > For more options, visit this group at > > http://code.google.com/apis/contacts/community/forum.html > > > > > > -- > Alain Vongsouvanh > > -- > You received this message because you are subscribed to the Google > Groups "Google Contacts, Shared Contacts and User Profiles APIs" group. > To post to this group, send email to > [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://code.google.com/apis/contacts/community/forum.html > -- Carlos Ricardo Santos -- You received this message because you are subscribed to the Google Groups "Google Contacts, Shared Contacts and User Profiles APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://code.google.com/apis/contacts/community/forum.html
