Hello Rebecca, Sorry about the delay in getting back to you! I can assure you that Contacts API does support OAuth 2.0 but you might have to specify the token in the request header:
GET https://www.google.com/m8/feeds/contacts/default/full Authorization: Bearer <OAUTH_2_0_ACCESS_TOKEN> You can try this behavior on OAuth Playground<https://code.google.com/oauthplayground/> . Best, Alain On Fri, Jan 13, 2012 at 1:21 PM, Rebecca Miller-Webster < [email protected]> wrote: > Hi, > > I'm successfully authenticating via OAuth2 and am able to see user info > via: > https://www.googleapis.com/oauth2/v1/userinfo?access_token=XXXX'' > > However, if I try: > https://www.google.com/m8/feeds/contacts/default/full?access_token=XXXX > I get a 401 Token Invalid - AuthSub token has wrong scope > > When I am redirected to authenticated, it says the app wil "Manage > contacts," so I am pretty sure the scope is correct. However, I'm > obviously not using AuthSub. > > Is OAuth2 not available *at all* for the Contacts API? > > Thanks, > Rebecca > > -- > 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 | Developer Programs Engineer -- 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
