From 2b5f29dd47fe1c11792bcbe3352968dd12f3c413 Mon Sep 17 00:00:00 2001 From: Mahee Gamage Date: Wed, 19 Nov 2025 14:58:07 +0200 Subject: [PATCH 1/2] Format cookie-refresh and cookie-expire config explanation in sessions.md for clarity Enhance readability of cookie-refresh and cookie-expire configuration explanation by making them a list and marking with code segments --- docs/versioned_docs/version-7.13.x/configuration/sessions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/versioned_docs/version-7.13.x/configuration/sessions.md b/docs/versioned_docs/version-7.13.x/configuration/sessions.md index e2037817..8daf5415 100644 --- a/docs/versioned_docs/version-7.13.x/configuration/sessions.md +++ b/docs/versioned_docs/version-7.13.x/configuration/sessions.md @@ -55,8 +55,8 @@ which can get quite big. Two settings are used to configure the OAuth2 Proxy cookie lifetime: - --cookie-refresh duration refresh the cookie after this duration; 0 to disable - --cookie-expire duration expire timeframe for cookie 168h0m0s + * `--cookie-refresh` duration refresh the cookie after this duration; 0 to disable + * `--cookie-expire` duration expire timeframe for cookie 168h0m0s The "cookie-expire" value should be equal to the lifetime of the Refresh-Token that is issued by the OAuth2 authorization server. If it expires earlier and is deleted by the browser, OAuth2 Proxy cannot find the stored Refresh-Tokens in Redis and thus cannot start From 34634641f991542a24bc8bcd0e9ab359f9e60b4b Mon Sep 17 00:00:00 2001 From: Mahee Gamage Date: Wed, 19 Nov 2025 15:03:50 +0200 Subject: [PATCH 2/2] Fixed invalid list view in documentation --- docs/versioned_docs/version-7.13.x/configuration/sessions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/versioned_docs/version-7.13.x/configuration/sessions.md b/docs/versioned_docs/version-7.13.x/configuration/sessions.md index 8daf5415..d9552b98 100644 --- a/docs/versioned_docs/version-7.13.x/configuration/sessions.md +++ b/docs/versioned_docs/version-7.13.x/configuration/sessions.md @@ -55,8 +55,8 @@ which can get quite big. Two settings are used to configure the OAuth2 Proxy cookie lifetime: - * `--cookie-refresh` duration refresh the cookie after this duration; 0 to disable - * `--cookie-expire` duration expire timeframe for cookie 168h0m0s +* `--cookie-refresh` duration refresh the cookie after this duration; 0 to disable +* `--cookie-expire` duration expire timeframe for cookie 168h0m0s The "cookie-expire" value should be equal to the lifetime of the Refresh-Token that is issued by the OAuth2 authorization server. If it expires earlier and is deleted by the browser, OAuth2 Proxy cannot find the stored Refresh-Tokens in Redis and thus cannot start