> For the complete documentation index, see [llms.txt](https://docs.countercyclical.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.countercyclical.io/workspace-settings/user-session-duration.md).

# User Session Duration

Set how long workspace sessions can remain active before members are required to authenticate again.

User Session Duration gives workspace administrators control over the maximum lifetime of authenticated sessions. It can be used to reduce long-lived access to sensitive workspace data and align Countercyclical with your organization’s security policies.

See also [Sessions](https://docs.countercyclical.io/account-settings/sessions) and [Enforced Logouts](https://docs.countercyclical.io/workspace-settings/enforced-logouts).

You can configure session duration from [**Settings › Workspace › Advanced › Identity**](https://dashboard.countercyclical.io/settings/workspace/advanced/identity).

### How Session Duration Works

The selected duration defines the maximum amount of time a workspace session can remain valid before reauthentication is required.

Available durations are:

* **1 Day**
* **1 Week**
* **2 Weeks**
* **30 Days**
* **2 Months**
* **3 Months**
* **6 Months**

For example, setting the duration to **1 Week** requires members to authenticate again after their workspace session reaches that limit.

Changing this setting establishes the session policy for the workspace. It does not change a member’s role, permissions, or access to individual resources.

### Configure User Session Duration

Navigate to [**Settings › Workspace › Advanced › Identity**](https://dashboard.countercyclical.io/settings/workspace/advanced/identity).

Under **User Session Duration**, open the duration selector and choose the maximum session lifetime you want to allow. Select a shorter duration when your security requirements call for more frequent reauthentication, or a longer duration when reducing authentication interruptions is preferable.

The appropriate duration will depend on your organization’s security requirements, identity-provider configuration, and the sensitivity of the workspace.

### Session Duration and Authentication

Session duration operates independently from the authentication methods permitted by your workspace.

For example, a workspace using **SAML SSO** can set a 30-day session duration. When the Countercyclical workspace session expires, the member must authenticate again through the applicable sign-in flow. Your identity provider may maintain its own session and reauthentication policies separately.

Similarly, controls such as **Network Access** and **Authorized Methods** continue to apply when members establish new sessions.

#### Related Pages

{% content-ref url="/pages/fZzkm9Qnz3cS5uVHItQF" %}
[Enforced Logouts](https://docs.countercyclical.io/workspace-settings/enforced-logouts.md)
{% endcontent-ref %}

{% content-ref url="/pages/MhNloJ72l4AoVUIibYpa" %}
[Sessions](https://docs.countercyclical.io/account-settings/sessions.md)
{% endcontent-ref %}

{% content-ref url="/pages/w2eid0bmERSp5NKfoJvq" %}
[Authorized Login Methods](https://docs.countercyclical.io/workspace-settings/authorized-login-methods.md)
{% endcontent-ref %}
