We can't make reseller API calls working using a service account. The steps on the link:
were followed without any luck.
With regards
We can't make reseller API calls working using a service account. The steps on the link:
were followed without any luck.
With regards
When performing service account authentication against the directory or reseller API, you must impersonate a Google Apps user within the instance who has the proper permissions to make the API calls. This is done via the prn parameter as described in the service account documentation. How you specify the prn user will differ by client library.
Yes, this now works. Just in case you use PHP library (from google) - here's how it should look like:
$cred = new Google_Auth_AssertionCredentials(
'e-mail from the API user',
['https://www.googleapis.com/auth/apps.order'],
'Content from your P12 key file',
'notasecret',
'http://oauth.net/grant_type/jwt/1.0/bearer',
'the-email@of-the-real-account.com'
);