Skip to content

Commit 09c3479

Browse files
authored
fix(keycloak): use proper time format (#386)
## πŸ“ Description Use `h` instead of `d` when specyfing time formats in keycloak. ## βœ… Checklist - [ ] I have tested this change - [ ] This change requires documentation update
1 parent bc9ee28 commit 09c3479

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

β€Žhelm-chart/templates/configmaps/authentication.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ data:
1616
SESSION_COOKIE_NAME: _semaphoreci_2_0_sxmoon_session
1717
ENABLE_TEMPORARY_PASSWORDS: "true"
1818
SESSION_IDLE_TIMEOUT: "72h"
19-
SESSION_MAX_TIMESPAN: "30d"
19+
SESSION_MAX_TIMESPAN: "720h"
2020
ACCESS_TOKEN_LIFESPAN: "1h"
21-
OFFLINE_SESSION_IDLE_TIMEOUT: "30d"
21+
OFFLINE_SESSION_IDLE_TIMEOUT: "720h"

β€Žkeycloak/setup/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ variable "semaphore_realm_session_idle_timeout" {
2828
variable "semaphore_realm_session_max_lifespan" {
2929
description = "Semaphore realm session max lifespan"
3030
type = string
31-
default = "30d"
31+
default = "720h"
3232
}
3333

3434
variable "semaphore_realm_access_token_lifespan" {
@@ -40,7 +40,7 @@ variable "semaphore_realm_access_token_lifespan" {
4040
variable "semaphore_realm_offline_session_idle_timeout" {
4141
description = "Semaphore realm offline session idle timeout"
4242
type = string
43-
default = "30d"
43+
default = "720h"
4444
}
4545

4646
variable "semaphore_realm_update_password_action" {

0 commit comments

Comments
Β (0)