Common idle timeouts range from 2-5 minutes for high-value applications to 15-30 minutes for low risk applications, as noted by OWASP.
Key takeaways
- NIST advises that the reauthentication overall timeout should be no more than 24 hours at AAL2.
- The same source recommends an inactivity timeout of no more than 15 minutes.
- Microsoft Learn states that the default lifetime is 1 hour.
- Atlassian notes that a rotating refresh credential expires if the user is inactive for 90 days.
- Supabase describes access credentials as short-lived, usually between 5 minutes and 1 hour.
Idle ranges by application risk
The Session Management - OWASP Cheat Sheet Series defines these two primary ranges based on application value. High-value applications typically use shorter idle windows of 2-5 minutes. Low risk applications allow longer periods of inactivity, specifically 15-30 minutes. These figures represent the common starting points for configuring session expiration logic. Your specific product context determines which end of this spectrum applies to your customer base. A CS manager reviewing a SaaS platform must identify whether their tool handles sensitive financial data or general productivity tasks to select the appropriate baseline. The source ties these durations directly to the risk profile of the application itself. Do not treat one publisher's rule as every firm's rule. If your team manages multiple products with different security postures, you may need distinct timeout settings for each. The distinction between high-value and low risk is the key variable here. Start by classifying your main application according to its data sensitivity. Then align your idle timeout configuration with the corresponding range provided in the cheat sheet. This ensures your sign-out behavior matches the expected security posture for that type of software. Verify that your current settings fall within these documented boundaries before adjusting them.
NIST sets an overall limit of no more than 24 hours at AAL2 and a 15-minute inactivity limit
NIST Special Publication 800-63B defines two distinct time limits for session management, separating the total duration a user can stay authenticated from the period they can remain inactive before being signed out. The publication specifies that a definite reauthentication overall timeout SHALL be established, which SHOULD be no more than 24 hours at Assurance Level 2 (AAL2) NIST. This overall limit caps how long a customer’s login remains valid without any reauthentication event, regardless of activity. For higher security requirements, the publication tightens this window significantly. At AAL3, the overall timeout for reauthentication SHALL be no more than 12 hours, requiring users to verify their identity more frequently than those operating under AAL2 standards NIST.
Beyond the overall session length, the publication addresses inactivity specifically. The inactivity timeout SHOULD be no more than 15 minutes, ensuring that if a user stops interacting with the application, their access is revoked after this short interval NIST. This 15-minute threshold applies to the idle state, distinct from the broader reauthentication windows mentioned earlier. When configuring your system’s sign-out behavior, you must distinguish between these two mechanisms: the absolute time until forced reauthentication and the specific idle trigger.
OWASP puts common idle timeouts at 15-30 minutes for low risk applications
According to OWASP, common idle timeout ranges are 2-5 minutes for high-value applications and 15-30 minutes for low risk applications. The source advises setting session expiration timeout values according to the purpose and nature of the web application, balancing security and usability so users can comfortably complete operations without the session frequently expiring.
Absolute timeouts depend on how long a user usually uses the application, as noted by OWASP. If the application is intended to be used by an office worker for a full day, an appropriate absolute timeout range could be between 4 and 8 hours. This specific range addresses scenarios where continuous access is required for extended work periods, distinct from the shorter idle windows mentioned earlier.
The renewal timeout complements the idle and absolute timeouts, especially when the absolute timeout value extends significantly over time, such as when it is an application requirement to keep user sessions open for long periods of time, according to OWASP. A complementary recommendation is to use a different session ID or credential name pre and post authentication, so that the web application can keep track of anonymous users and authenticated users without the risk of exposing or binding the user session between both states.
Check your current configuration against these two specific ranges: 2-5 minutes for high-value applications and 15-30 minutes for low risk applications. Verify if your current settings allow users to complete typical workflows without interruption while maintaining necessary security boundaries.
Microsoft and Supabase default lifetimes of 1 hour
When a customer reports that their login expires after exactly one hour, check whether your application uses the standard lifetime documented by major identity platforms. The Microsoft Learn page on configurable lifetimes states that the default lifetime is 1 hour. This baseline applies to standard sessions within the Microsoft identity platform. If your system relies on CAE, the behavior differs. CAE-capable clients that negotiate CAE-aware sessions may receive long-lived credentials (up to 28 hours). This extended duration allows users to maintain access without frequent re-authentication, but it only triggers when specific client capabilities are negotiated.
Supabase documents similar defaults for its authentication layer. According to Supabase Docs, access credentials are designed to be short lived, usually between 5 minutes and 1 hour. The documentation advises that most applications should use the default expiration time of 1 hour. While refresh credentials in this system never expire, they can only be used once, forcing the client to request a new access credential regularly.
Adjusting these values involves a specific trade-off. As noted in the Microsoft Learn documentation, adjusting the lifetime of an access credential balances improving system performance against increasing the amount of time that the client retains access after the user's account is disabled. If you extend the lifetime beyond the 1-hour default, you reduce the frequency of credential refresh requests, which can lower server load. However, you also extend the period where a compromised credential could potentially be used before it becomes invalid. Conversely, shortening the lifetime increases security but demands more frequent network calls from the client to renew access.
To align your product with industry standards, review your current lifetime configuration. Confirm whether your system uses the 1-hour default or a custom value. If you support CAE-aware sessions, document the potential 28-hour window for those specific users. Communicate these timelines clearly in your help center so customers understand why their sessions end at specific intervals.
Atlassian expires an inactive refresh credential after 90 days
For OAuth 2.0 (3LO) apps, Atlassian states that a rotating refresh credential has an inactivity expiry time of 90 days. The rule specifies that the credential expires if the user is inactive for this period. This 90-day window applies specifically to rotating refresh credentials within the named product scope. It functions as a long-term reauthentication checkpoint rather than a short-session idle timeout. You should verify whether your application’s integration with these platforms follows the same rotating credential logic. Check if your backend logs show refresh credential rotations and confirm the inactivity tracking aligns with the 90-day threshold. If a 3LO app using rotating refresh credentials signs a user out after 90 days of non-use, this expiration rule may explain the cause.
The documentation also notes that users trying to install an unapproved OAuth 2.0 integration receive a warning that the app has not yet been reviewed by Atlassian. This review status is separate from the credential lifetime rules but affects initial setup. Ensure your support team distinguishes between installation warnings and post-installation credential expirations. When troubleshooting sign-out complaints, ask the customer when they last performed an action requiring the refresh credential. If the gap exceeds 90 days, the credential would have expired according to the documented rule. Keep this 90-day figure distinct from the shorter session timeouts discussed in other sections of this guide. It serves as a boundary for long-term credential validity rather than daily session management. Confirm your monitoring tools can detect when a refresh credential approaches this 90-day mark. This allows you to proactively inform customers about upcoming reauthentication needs. Open one idle timeout range in your own system today and check it against the reference table provided later in this article.
Session timeout reference table: publisher, idle limit, overall limit and what to confirm
The following table lists the limits documented by each publisher. Each row reflects the figure or range stated in that source for its named product or guideline. Verify which limit applies to your customer’s authentication flow before adjusting sign-out behavior.
| Publisher | Quoted Limit or Range | Context from Source |
|---|---|---|
| NIST | No more than 24 hours (overall); no more than 15 minutes (inactivity) | NIST Special Publication 800-63B defines reauthentication timeouts at AAL2 and inactivity timeouts. |
| OWASP | 2-5 minutes (high-value); 15-30 minutes (low risk) | OWASP Cheat Sheet Series lists common idle timeout ranges based on application risk profile. |
| Microsoft Learn | Default lifetime is 1 hour | Microsoft identity platform documentation states the standard duration for access credentials. |
| Atlassian | 90 days (inactivity expiry) | OAuth 2.0 (3LO) apps documentation specifies when a rotating refresh credential expires due to user inactivity. |
| Supabase | Between 5 minutes and 1 hour (access credential) | Supabase Docs describes the typical short-lived nature of access credentials relative to refresh credentials. |
Check your system configuration against these five rows to identify gaps between your current timeout values and the published guidelines. If your application serves high-value transactions, compare your idle setting directly with the OWASP range for high-value applications rather than the low-risk band. For platforms using OAuth 2.0, confirm whether your refresh credential policy matches the Atlassian inactivity period or requires a shorter window. The Microsoft and Supabase figures apply specifically to access credential lifetimes, so verify your credential issuance logic aligns with those defaults if you use similar architecture. NIST limits apply to assurance levels, so determine which AAL tier your customer’s login requires before applying the 24-hour or 15-minute thresholds. This comparison helps you answer customer complaints about unexpected sign-outs by showing whether your setting falls within a widely documented range. Adjust your internal documentation to cite these sources when explaining timeout policies to customers who question why their session ended.
Related guides: Customer feedback audit: 6 checks before a QBR review · Customer usage discrepancies: 4 steps before renewal · Activity types: 6 defaults before the kickoff call.
FAQ on session timeouts, lifetimes and customer sign-out complaints
What makes my customer's users get signed out so often?
Session expiration timeout values must balance security and usability so the user can comfortably complete operations without the session frequently expiring. According to OWASP, these values depend on the purpose and nature of the web application. If your customers report frequent sign-outs, verify that your idle timeout aligns with their actual workflow length rather than a generic low-risk standard.
What is the difference between an idle timeout and an absolute timeout?
Idle timeouts range from 2-5 minutes for high-value applications to 15-30 minutes for low risk applications. In contrast, absolute timeouts depend on how long a user usually uses the application. For example, if the application serves an office worker for a full day, an appropriate absolute timeout range could be between 4 and 8 hours according to OWASP. The renewal timeout complements both when sessions need to stay open for long periods.
How long should an access credential last?
Access credentials are designed to be short-lived, usually between 5 minutes and 1 hour, while refresh credentials never expire but can only be used once, according to Supabase. Most applications should use the default expiration time of 1 hour. Microsoft notes that adjusting this lifetime is a trade-off between improving system performance and increasing the time the client retains access after the user’s account is disabled, according to Microsoft Learn.
Which limits apply to NIST and Microsoft sessions?
The overall reauthentication timeout should be no more than 24 hours at AAL2, according to NIST. The inactivity timeout should be no more than 15 minutes. At AAL3, the overall timeout for reauthentication shall be no more than 12 hours. Additionally, CAE-capable clients that negotiate CAE-aware sessions may receive long-lived credentials up to 28 hours according to Microsoft Learn.
Sources
Limits of this post
This post is general operational information, not legal advice about notice periods or renewal clauses. It does not promise that any method keeps a customer. Software can get a fact wrong, so open the sources before you act.