Configure Google OAuth Client ID

30 views
Skip to first unread message

Steve Beebe

unread,
Nov 29, 2016, 10:58:17 AM11/29/16
to MailArchiva
I'm having an issue setting up new API access to a newly establish Google Apps account. It appears that Google has changed the Developer Console. I can either create an OAuth Client ID or a Service Account. But not both a Service Account with a Client ID.

If I create the OAuth Client ID, I can authorize access for it in the Admin console, but I do not get an email address and I can only get the key file in JSON format.

If I create a Service Account, I do not get a client ID that is accepted in Admin console.

Are there updated instructions or am I missing something.

st...@canalytix.com

unread,
Nov 29, 2016, 12:16:14 PM11/29/16
to MailArchiva
I have been able to add a client ID to the service account, but I cannot get the key in a P12 format. Only in JSON.

st...@canalytix.com

unread,
Nov 29, 2016, 12:48:02 PM11/29/16
to MailArchiva
So here's where I am at. I have added Domain Wide Delegation to the Default App Engine service. Doing this creates an OAuth Client ID. I can authorize the Client ID to the URLs specified in the MA documentation.

After importing the private key to MA and attempting to establish a new google connection, I get the following error:

error occured retrieving list of users for domain greenshift.com.{403 Forbidden { "code" : 403, "errors" : [ { "domain" : "global", "message" : "Not Authorized to access this resource/api", "reason" : "forbidden" } ], "message" : "Not Authorized to access this resource/api" }}
process_test_connectiongoogleclient ended

MA Server version 4.15.11

Reply all
Reply to author
Forward
0 new messages