- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 06:12 AM
If the grant type is auth code:
1. How does serviceNow auto generates new access tokens after they get expired based on the valid refresh token ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 08:04 AM
Hi @Lokesh5 ,
Token Expiration and Validity is as follows:
- Access Token: By default, an instance issues access tokens with a 30-minute lifespan in the scenario where the instance is the OAuth provider.
- Refresh Token: By default, an instance issues refresh tokens with a 100-day lifespan in the scenario where the instance is the OAuth provider.
By doing the below steps refresh token gets generated and the expiration date can be extended accordingly.
Reference : https://www.servicenow.com/community/architect-forum/google-calendar-integration-with-servicenow/td-...
Please mark this as helpful and accept it as a solution if this resolves your query.
Thanks,
Sujatha V.M.
Sujatha V.M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 08:04 AM
Hi @Lokesh5 ,
Token Expiration and Validity is as follows:
- Access Token: By default, an instance issues access tokens with a 30-minute lifespan in the scenario where the instance is the OAuth provider.
- Refresh Token: By default, an instance issues refresh tokens with a 100-day lifespan in the scenario where the instance is the OAuth provider.
By doing the below steps refresh token gets generated and the expiration date can be extended accordingly.
Reference : https://www.servicenow.com/community/architect-forum/google-calendar-integration-with-servicenow/td-...
Please mark this as helpful and accept it as a solution if this resolves your query.
Thanks,
Sujatha V.M.
Sujatha V.M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2024 05:26 AM
@Sujatha V M
Access token is valid for an hour , in that case how can we auto generate new access token using refresh token?