Skip to content

fix: removes deprecated config option for strict https and updates Keycloak bootstrap#1

Open
alail-ims wants to merge 1 commit intomainfrom
fix/disable-local-ssl
Open

fix: removes deprecated config option for strict https and updates Keycloak bootstrap#1
alail-ims wants to merge 1 commit intomainfrom
fix/disable-local-ssl

Conversation

@alail-ims
Copy link
Copy Markdown

Keycloak 26 deprecated the KC_HOSTNAME_STRICT_HTTPS environment variable, silently ignoring it. As a result, both the master and opencase realms initialized with the default sslRequired=EXTERNAL mode. This made local deployments basically non-functional.

The fix replaces the unsupported environment variable with a new KEYCLOAK_SSL_REQUIRED setting that is applied directly to both Keycloak realms during OpenCASE's bootstrap sequence. It defaults to none in development and external in production, preserving HTTPS enforcement for partner deployments while allowing plain HTTP locally.

@alail-ims alail-ims requested review from andylulciuc and tcouper May 8, 2026 01:21
@alail-ims alail-ims changed the title fix: removes deprecated config option for strict https and updates bootstrap to use supported option fix: removes deprecated config option for strict https and updates bootstrap May 8, 2026
@alail-ims alail-ims changed the title fix: removes deprecated config option for strict https and updates bootstrap fix: removes deprecated config option for strict https and updates Keycloak bootstrap May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant