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
This commit is contained in:
Mahee Gamage 2025-11-19 14:58:07 +02:00 committed by GitHub
parent 7cf69b27fa
commit 2b5f29dd47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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