I am trying to get google users from my domain using google service account
.
But it throws error
Error:\"access_denied\", Description:\
The service account email address needs to have access the domain. Take the email and add it as a user just enough access that it can read should be good.
Also did you change this for posting?
"publickey.gserviceaccount.com"
A service account email looks more like this:
539621478854-imkdv94bgujcom228h3ea33kmkoefhil@developer.gserviceaccount.com