Access and refresh tokens
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2022 03:34 AM
We manage the tokens used to connect to Google Calendar from ServiceNow.
As shown in the image below, it manages access and refresh tokens, with access tokens expiring in 30 minutes and refresh tokens expiring in 24855 days.
It is recognized that the access token will be regenerated by the refresh token when it expires, so there is no error.
However, the following error seems to occur due to the expiration of the access token.
ProcessingException: User Not Authenticated. Could not retrieve a new access token with the refresh token. invalid_grant, Token has been expired or revoked.
Why is this? Am I understanding this incorrectly?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2022 06:16 AM
Hello,
It's possible, but that would depend on your implementation. Although this is 2 years old, I would suggest giving this a read through for guidance: https://community.servicenow.com/community?id=community_article&sys_id=728b5936db82d0104aa5d9d968961905
Please mark my answer as correct/helpful if it has helped you.
Thanks,
Logan
--
LinkedIn