🔧(keycloak) Fix https required issue in dev mode
On some environments keycloak returns a 'HTTPS required' message on login. The same issue was fixed in drive by changing the 'sslRequired' value from 'external' to 'none'. Also upgrade keycloak up to 26.3.2 Signed-off-by: Fabre Florian <ffabre@hybird.org>
This commit is contained in:
@@ -71,6 +71,7 @@ and this project adheres to
|
|||||||
- 🐛(frontend) fix dnd conflict with tree and Blocknote #1328
|
- 🐛(frontend) fix dnd conflict with tree and Blocknote #1328
|
||||||
- 🐛(frontend) fix display bug on homepage #1332
|
- 🐛(frontend) fix display bug on homepage #1332
|
||||||
- 🐛link role update #1287
|
- 🐛link role update #1287
|
||||||
|
- 🔧(keycloak) Fix https required issue in dev mode #1286
|
||||||
|
|
||||||
## [3.5.0] - 2025-07-31
|
## [3.5.0] - 2025-07-31
|
||||||
|
|
||||||
|
|||||||
10
compose.yml
10
compose.yml
@@ -184,22 +184,20 @@ services:
|
|||||||
- env.d/development/kc_postgresql.local
|
- env.d/development/kc_postgresql.local
|
||||||
|
|
||||||
keycloak:
|
keycloak:
|
||||||
image: quay.io/keycloak/keycloak:20.0.1
|
image: quay.io/keycloak/keycloak:26.3
|
||||||
volumes:
|
volumes:
|
||||||
- ./docker/auth/realm.json:/opt/keycloak/data/import/realm.json
|
- ./docker/auth/realm.json:/opt/keycloak/data/import/realm.json
|
||||||
command:
|
command:
|
||||||
- start-dev
|
- start-dev
|
||||||
- --features=preview
|
- --features=preview
|
||||||
- --import-realm
|
- --import-realm
|
||||||
- --proxy=edge
|
- --hostname=http://localhost:8083
|
||||||
- --hostname-url=http://localhost:8083
|
|
||||||
- --hostname-admin-url=http://localhost:8083/
|
|
||||||
- --hostname-strict=false
|
- --hostname-strict=false
|
||||||
- --hostname-strict-https=false
|
|
||||||
- --health-enabled=true
|
- --health-enabled=true
|
||||||
- --metrics-enabled=true
|
- --metrics-enabled=true
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "--head", "-fsS", "http://localhost:8080/health/ready"]
|
test: ['CMD-SHELL', 'exec 3<>/dev/tcp/localhost/9000; echo -e "GET /health/live HTTP/1.1\r\nHost: localhost\r\nConnection: close\r\n\r\n" >&3; grep "HTTP/1.1 200 OK" <&3']
|
||||||
|
start_period: 5s
|
||||||
interval: 1s
|
interval: 1s
|
||||||
timeout: 2s
|
timeout: 2s
|
||||||
retries: 300
|
retries: 300
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
"oauth2DeviceCodeLifespan": 600,
|
"oauth2DeviceCodeLifespan": 600,
|
||||||
"oauth2DevicePollingInterval": 5,
|
"oauth2DevicePollingInterval": 5,
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"sslRequired": "external",
|
"sslRequired": "none",
|
||||||
"registrationAllowed": true,
|
"registrationAllowed": true,
|
||||||
"registrationEmailAsUsername": false,
|
"registrationEmailAsUsername": false,
|
||||||
"rememberMe": true,
|
"rememberMe": true,
|
||||||
@@ -2270,7 +2270,7 @@
|
|||||||
"cibaInterval": "5",
|
"cibaInterval": "5",
|
||||||
"realmReusableOtpCode": "false"
|
"realmReusableOtpCode": "false"
|
||||||
},
|
},
|
||||||
"keycloakVersion": "20.0.1",
|
"keycloakVersion": "26.3.2",
|
||||||
"userManagedAccessAllowed": false,
|
"userManagedAccessAllowed": false,
|
||||||
"clientProfiles": {
|
"clientProfiles": {
|
||||||
"profiles": []
|
"profiles": []
|
||||||
|
|||||||
Reference in New Issue
Block a user