- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hello folks...
I've configured an inbound integration about 4months ago.
Configuration:
Integration type - Inbound
Created an Application Registry of type Client Credentials grant type.
Now I'm concerned about, when does this client secret will expire. Usually for other integrations in my application, they do rotate for every 90days. It is over 3 months, still it is retrieving a valid token to connect to API and get the Response.
Note: I didn't configured any custom expiry duration.
May I know, in general, what would be the expiry days/months of a client secret configured in above scenarios.
Thanks in advance
#ClientSecret #ClientSecretExpiry #Client Credentials Grant Type
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @Anil9866 ,
In ServiceNow Application Registry, the client secret does not expire automatically and remains valid until manually regenerated or revoked. Access tokens and refresh tokens do have expiry, but there is no default time-based expiry for the client secret itself. Any 90-day rotation is usually an organizational security policy, not enforced OOB by ServiceNow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hello @Anil9866
Access Token: This is the short-lived string used to call the API. These typically expire in 30 to 60 minutes. Your integration handles this by using the Client Secret to "ask" for a new token automatically.
Client Secret: This is essentially the password for your application. Unlike tokens, secrets do not usually expire unless a specific Expiration Date was set during the initial configuration.
If you didn't configure a custom duration, the "default" depends entirely on the platform you are using.
-
ServiceNow: Never expires by default (unless a specific expiration date is selected during configuration).
-
Azure AD (Entra ID): Usually forced to a specific window, typically 6 months, 1 year, or 2 years.
-
Salesforce: Never expires (managed via the Consumer Secret within the Connected App).
-
AWS IAM: Never expires, though rotation is highly recommended and often enforced via internal IAM policies.
Thank You!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
client id and client secret never expires, token gets expired based on what 3rd party has configured in their API
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @Anil9866 ,
In ServiceNow Application Registry, the client secret does not expire automatically and remains valid until manually regenerated or revoked. Access tokens and refresh tokens do have expiry, but there is no default time-based expiry for the client secret itself. Any 90-day rotation is usually an organizational security policy, not enforced OOB by ServiceNow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
20 hours ago
Got it. Thank you @aruncr0122 for your response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hello @Anil9866
Access Token: This is the short-lived string used to call the API. These typically expire in 30 to 60 minutes. Your integration handles this by using the Client Secret to "ask" for a new token automatically.
Client Secret: This is essentially the password for your application. Unlike tokens, secrets do not usually expire unless a specific Expiration Date was set during the initial configuration.
If you didn't configure a custom duration, the "default" depends entirely on the platform you are using.
-
ServiceNow: Never expires by default (unless a specific expiration date is selected during configuration).
-
Azure AD (Entra ID): Usually forced to a specific window, typically 6 months, 1 year, or 2 years.
-
Salesforce: Never expires (managed via the Consumer Secret within the Connected App).
-
AWS IAM: Never expires, though rotation is highly recommended and often enforced via internal IAM policies.
Thank You!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
20 hours ago
Got it, thank you @Rushi Savarkar for your detailed explanation.
