Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

authentication for integration with google calendar

AGSN
Tera Expert

I am integrating SN with G-Cal, when a catalog item is submitted, it should create an event in google calendar. There are 2 methods of authentication and my questions are in red below.

  1. Oauth - 
    The issue with the oauth method is:
    1. It probably expires and will need to be re-authed every now and again - I think we can generate offline token here.
    2. It is using your personal auth not a service account so if your account gets suspended or something then it will stop working - How to go about this path?
  2. Service account - I created a service account in google console. It gave me a key and also downloaded a json credential file. How and where do I use this file in ServiceNow? 

Your help is appreciated!

1 REPLY 1

Rahul Priyadars
Tera Sage

Here are my one cent .

 

It is using your personal auth not a service account so if your account gets suspended or something then it will stop working - How to go about this path?-- What do u mean by Personal Auth?

 

  1. Service account - I created a service account in google console. It gave me a key and also downloaded a json credential file. How and where do I use this file in ServiceNow? 

Here

RahulPriyadars_0-1707968222818.png

sys_auth_profile_basic.LIST

 

Regards

RP