Hi Jose Luis,

The Provisioning API is an userless API, so you shouldn't pass the
xoauth_requestor_id parameter.
Also, you have to explicitly grant your own domain access to the readonly
Provisioning API feed, as per the instructions at

http://support.google.com/a/bin/answer.py?hl=en&answer=162106

Claudio


On Sun, Feb 5, 2012 at 9:01 PM, Jose Luis Rodenas <[email protected]>wrote:

> I have a marketplace app running using 2LO without problems. Now I want to
> do some stress tests using my domain consumer key/secret without changing
> the code. I have the domain consumer key/secret/2LO enabled but when I try
> to use the domain key/secret the provisioning api queries fails with:
>
> com.google.gdata.util.AuthenticationException: Unknown authorization
> header.
>
> I am using the UserService to retrieve a UserEntry: "
> https://apps-apis.google.com/a/feeds/"; + domain + "/user/2.0/" +  name +
> "?xoauth_requestor_id=" + email;
>
> With the marketplace key/secret is working fine. I tried the SitesService
> and it is working with the domain key/secret 2LO.
>
> I am missing something?
>
>
>  --
> 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/-/tgPYyi9305EJ.
> 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.

Reply via email to