Previous Entry Share
Managing scopes for Google API Service Account
lin_id
If you'd like to use Service Account to access Google API, it really hard to find how to manage scopes.
You just receiving  error like this

Error refreshing the OAuth2 token, message: '{
"error" : "access_denied",
"error_description" : "Requested client not authorized."

You can find answer here https://support.google.com/a/answer/162106?hl=en
Go to "Manage domain" of your Google Apps account, then Security > Advanced settings > Authentication > Manage OAuth domain key

?

Log in