Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/docs/deploy/k8s/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ Cookie defines Pomerium session cookie options.
</p>
<p>

Expire sets cookie and Pomerium session expiration time. Once session expires, users would have to re-login. If you change this parameter, existing sessions are not affected. <p>See <a href="https://www.pomerium.com/docs/enterprise/about#session-management">Session Management</a> (Enterprise) for a more fine-grained session controls.</p> <p>Defaults to 14 hours.</p>
Expire sets cookie and Pomerium session expiration time. Once session expires, users would have to re-login. If you change this parameter, existing sessions are not affected. Pomerium imposes its own session TTL (14 hours by default) to clean up abandoned sessions; without a timeout the server would continue refreshing tokens even if a user closed their browser. <p>See <a href="https://www.pomerium.com/docs/enterprise/about#session-management">Session Management</a> (Enterprise) for more fine-grained session controls.</p> <p>Defaults to 14 hours.</p>
</p>

Format: a duration string like "22s" as parsed by Golang time.ParseDuration.
Expand Down
2 changes: 2 additions & 0 deletions content/docs/reference/cookies.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@ cookie:

**Cookie Expiration** sets the lifetime of session cookies. After this interval, users must reauthenticate.

Pomerium sets its own session timeout (14 hours by default) because it has no way to know if a user simply closed their browser or cleared their cookies. Without an expiration, the server would keep refreshing identity provider tokens for abandoned sessions indefinitely. The timeout acts as a garbage-collection mechanism so that unused session state is eventually cleaned up.

### How to configure {#cookie-expiration-how-to-configure}

<Tabs>
Expand Down
4 changes: 3 additions & 1 deletion cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,9 @@
"HPKE",
"lifecycles",
"llms",
"Llms"
"Llms",
"TTL",
"relogin"
],
"ignorePaths": [
"*.mp4",
Expand Down
4 changes: 2 additions & 2 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ select:focus {
var(--tw-ring-offset-width) var(--tw-ring-offset-color);
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0
calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow),
var(--tw-shadow);
box-shadow:
var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
border-color: #2563eb;
}

Expand Down
Loading