Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

How to generate Refresh token?

Ereshkigal
Tera Contributor

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.

However, since the access token is only valid for one hour, I think I need a refresh token.

I'm not very knowledgeable about generating refresh tokens, so could anyone please tell me?

Thank you!

REST Message:

find_real_file.png

Manage Token:

find_real_file.png

Log returned after clicking "Get Outh Token":

find_real_file.png

The Application Registry etc. was created with reference to the following materials.

https://community.servicenow.com/community?id=community_article&sys_id=506d94d01b1ddc1017d162c4bd4bc...

5 REPLIES 5

jeffreyluto
Tera Contributor

I am downloading POSTMAN in QA and testing it there. Been a few yrs since I used but that might be easier. Any have experience with POSTMAN generating a token when run on a Windows server that happens to be the Mid server in the same app host subnet?