KC HOSTNAME / KC HOSTNAME STRICT

From wikieduonline
(Redirected from KC HOSTNAME)
Jump to navigation Jump to search

KC_HOSTNAME (ref) --hostname

If --hostname (KC_HOSTNAME) is not configured:


Used for:

  • iss claim in tokens
  • URLs in the discovery document (/.well-known/openid-configuration)
  • Origin expectations (iframe validation)
  • Redirect URLs Keycloak generates
  • Links in emails


# Do this in your values.yaml instead of extraEnvVars
ingress:
  enabled: true
  hostname: auth.example.com # The chart uses this to build the right KC_ or KEYCLOAK_ variables!


INFO [org.keycloak.url.HostnameV2ProviderFactory] (main) If hostname is specified, hostname-strict is effectively ignored


See also[edit]

Advertising: