The CreatorCon Call for Content is officially open! Get started here.

Does ServiceNow support Google service accounts to access Google applications

rexcore
Kilo Expert

I am near rollout of an integration with Change Requests and Google Calendar using OAuth 2.0 token support in Helsinki.

Thanks to josh.nerius who covered retrieving a refresh token on the 9-23-2016 edition of Live Coding Happy Hour, and Chuck Tomasi for referencing the "fix".

Since this mechanism requires the Change Request submitter or approver to be logged in to Google with privileges to write to the target calendar, I would like to use the Service Accounts supported by Google.

I haven't found ServiceNow documentation to easily support using the public key to create an access token for a REST request.

It looks like there is enough information to support this with javascript in ServiceNow, but I'd rather not go that direction due to development time and maintenance support in the future.

Thanks for any recommendations or documentation links.

Rex Core

UCSC

1 ACCEPTED SOLUTION

rexcore
Kilo Expert

I ended up using the  <script src="https://apis.google.com/js/client.js"></script> from a UI page invoked from a UI Action, and not the service account which required domain access to the Google API.

The good news is that Madrid now has JWT credential support!

View solution in original post

7 REPLIES 7

rexcore
Kilo Expert

I ended up using the  <script src="https://apis.google.com/js/client.js"></script> from a UI page invoked from a UI Action, and not the service account which required domain access to the Google API.

The good news is that Madrid now has JWT credential support!

stephaniemason
Tera Contributor

Has anybody configured JWT for a google service account? We are trying to integrate with google vault

I am interested in how to do this as well.