> 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/enforced-logouts.md).

# Enforced Logouts

Immediately revoke active workspace sessions and require members to authenticate again.

Enforced Logouts give workspace administrators a direct way to terminate existing sessions across the workspace. Unlike **User Session Duration**, which determines when sessions expire automatically, an enforced logout revokes active sessions immediately.

See also [User Session Duration](https://docs.countercyclical.io/workspace-settings/user-session-duration) and [Audit Logs](https://docs.countercyclical.io/workspace-settings/audit-logs).

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

### Force All Users to Log Out

Under **Force All Users to Logout**, select **Force Logout**. Countercyclical displays a confirmation prompt before proceeding.

Confirming the action revokes active sessions for the workspace and requires affected members to authenticate again before continuing to access it.

Because this is a workspace-wide security action, use it when existing sessions should no longer be trusted rather than waiting for their configured session duration to expire.

### When to Use an Enforced Logout

An enforced logout is useful after events that materially change your workspace's access posture, including:

* A suspected account or workspace security incident.
* Changes to authentication or identity-provider configuration.
* Changes to workspace access policies that should apply from a newly authenticated session.
* Offboarding or broader access-control changes where existing sessions should be invalidated.
* Administrative security reviews that require members to establish fresh sessions.

### What Happens After Enforcement

Enforcing a logout revokes existing workspace sessions. Members must authenticate again using an **Authorized Method** permitted by the workspace before they can resume access.

Other access controls continue to apply during reauthentication. For example, if **Network Access** is enabled, a member must still connect from an approved network. If your workspace restricts authorized sign-in methods, members must use one of those methods.

Enforcing a logout does **not** change workspace roles, resource permissions, or the configured **User Session Duration**. It invalidates current sessions rather than modifying the policies that govern future ones.

{% hint style="warning" %}
**Before Enforcing a Logout**

Enforcing a logout ends affected sessions in the selected workspace. Members with ended sessions must sign in again.
{% endhint %}

#### Related Pages

{% content-ref url="/pages/DFACaid1EwRgpdxXsgf8" %}
[User Session Duration](https://docs.countercyclical.io/workspace-settings/user-session-duration.md)
{% endcontent-ref %}

{% content-ref url="/pages/JhENIV7m20OW9wnx4Edn" %}
[Audit Logs](https://docs.countercyclical.io/workspace-settings/audit-logs.md)
{% endcontent-ref %}

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