Hi Darin What scope did you choose for the User Provisioning? It should be https://apps-apis.google.com/a/feeds/user/
Thanks Gunjan Sharma | Developer Programs Engineer | [email protected] | +91 7702534446 On Wed, Oct 19, 2011 at 2:19 AM, Darin Lampson <[email protected]> wrote: > Hello, > > I am using OAuth Playground, to test get all users via > https://apps-apis.google.com/a/feeds/{domain}.com/user/2.0 and get the 401 > unknown authorization header. I am using the OAuth key and secret in my > dashboard and I have enabled access the API. Any ideas? > > Thanks > > > GET /a/feeds/{domain}.com/user/2.0 HTTP/1.1 > Host: apps-apis.google.com > Accept: */* > Authorization: OAuth oauth_version="1.0", > oauth_nonce="999ed576cbd4863f1c119dbd0ce5d444", oauth_timestamp="1318970490", > oauth_consumer_key="{key}", oauth_signature_method="HMAC-SHA1", > oauth_signature="fjCnhLWwYBFUSn3b1iMhWkNtd1I%3D"Content-Type: > application/atom+xml > GData-Version: 2.0 > > HTTP/1.1 401 Unknown authorization header > WWW-Authenticate: GoogleLogin > realm="http://www.google.com/accounts/ClientLogin", service="apps" > Content-Type: text/html; charset=UTF-8 > Date: Tue, 18 Oct 2011 20:41:30 GMT > Expires: Tue, 18 Oct 2011 20:41:30 GMT > Cache-Control: private, max-age=0 > X-Content-Type-Options: nosniff > X-Frame-Options: SAMEORIGIN > X-XSS-Protection: 1; mode=block > Server: GSE > Transfer-Encoding: chunked > > <?xml version="1.0"?> > <HTML> > <HEAD> > <TITLE>Unknown authorization header</TITLE> > </HEAD> > <BODY BGCOLOR="#FFFFFF" TEXT="#000000"> > <H1>Unknown authorization header</H1> > <H2>Error 401</H2> > </BODY> > </HTML> > > -- > You received this message because you are subscribed to the Google Groups > "Google Apps Domain Information and Management APIs" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-apps-mgmt-apis/-/HKg6y0vd37MJ. > 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://groups.google.com/group/google-apps-mgmt-apis?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management 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://groups.google.com/group/google-apps-mgmt-apis?hl=en.
