I want to get an access token automatically
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2022 11:20 PM
Hi.
I'm investigating to integrate Google Calendar and ServiceNow.
The requirement is to connect with a service account key instead of the Outh 2.0 Client ID.
After some trial and error, I succeeded in getting an access token.
To get an Access token, you need to select "Get Outh Token", but it expires in 1 hour, so I feel it is a hassle.
To solve this,
- schedule this UI Action with a script
- gets a refresh token
Which is better?
Thank you!
- Labels:
-
Integrations
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-20-2022 03:37 AM
Hi,
I haven't used JWT so not much aware.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-20-2022 05:26 PM
Is that so.
I am also learning JWT. I would like to read the materials a little more, but if you know something, would you please link information to this thread?
Thank you!