Client sessions


目录

import { Render, Badge } from "~/components";

Client sessions control how often users must re-authenticate with your identity provider (IdP) while using the Cloudflare One Client (formerly WARP). Unlike legacy VPNs, which enforce a single global session timeout, Cloudflare One allows you to set session timeouts per application or per policy. You can configure session timeouts for your Access applications or as part of your Gateway policies.

Prerequisites

Ensure that traffic can reach your IdP and <your-team-name>.cloudflareaccess.com through the Cloudflare One Client.

Configure client sessions in Gateway

:::note[Enforce a global timeout]

To enforce a global reauthentication event, set each of your Network or HTTP policies to the same device client session duration. :::

Configure client sessions in Access

You can allow users to log in to Access applications using their device client session. Authenticate with Cloudflare One Client is only supported for Access applications protected by Allow or Block policies.

To configure device client sessions for Access applications:

  1. In the Cloudflare dashboard, go to Zero Trust > Access controls > Access settings.
  2. Enable Authenticate with Cloudflare One Client.
  3. Under Session duration, choose a session timeout value of up to 90 days. This timeout will apply to all Access applications that have Authenticate with Cloudflare One Client enabled.

:::note

This timeout value does not apply to device client session checks in Gateway policies. :::

  1. (Optional) To enable Authenticate with Cloudflare One Client by default for all existing and new applications, select Apply to all Access applications. You can override this default setting on a per-application basis when you create or modify an Access application.
  2. Select Save.

Users can now authenticate once with the Cloudflare One Client and have access to your Access applications for the configured period of time. The session timer resets when the user re-authenticates with the IdP used to enroll in the Cloudflare One Client.

Force user interaction with IdP

If the user has an active browser session with the IdP, the Cloudflare One Client will use the existing browser cookies to re-authenticate and the user will not be prompted to re-enter their credentials. You can override this behavior to require explicit user interaction in the IdP.

Supported IdPs

Manually reauthenticate

Limitations


版本号 #2
由 壳壳虫 创建于 2026-11-01 01:16:29 UTC
由 壳壳虫 更新于 2026-11-01 01:16:31 UTC