diff --git a/modules/openid_connect/app/controllers/openid_connect/providers_controller.rb b/modules/openid_connect/app/controllers/openid_connect/providers_controller.rb index 7e9cd03ca290..396855798db1 100644 --- a/modules/openid_connect/app/controllers/openid_connect/providers_controller.rb +++ b/modules/openid_connect/app/controllers/openid_connect/providers_controller.rb @@ -22,6 +22,8 @@ def new "google" when "microsoft_entra" "microsoft_entra" + when "keycloak" + "keycloak" else "custom" end diff --git a/modules/openid_connect/app/models/openid_connect/provider.rb b/modules/openid_connect/app/models/openid_connect/provider.rb index c61e5b04589a..875e6c90e99f 100644 --- a/modules/openid_connect/app/models/openid_connect/provider.rb +++ b/modules/openid_connect/app/models/openid_connect/provider.rb @@ -2,7 +2,7 @@ module OpenIDConnect class Provider < AuthProvider include HashBuilder - OIDC_PROVIDERS = %w[google microsoft_entra custom].freeze + OIDC_PROVIDERS = %w[google microsoft_entra keycloak custom].freeze DISCOVERABLE_ATTRIBUTES_MANDATORY = %i[authorization_endpoint userinfo_endpoint token_endpoint diff --git a/modules/openid_connect/config/locales/en.yml b/modules/openid_connect/config/locales/en.yml index e1a8f4431cdd..9f42bee6c017 100644 --- a/modules/openid_connect/config/locales/en.yml +++ b/modules/openid_connect/config/locales/en.yml @@ -94,6 +94,8 @@ en: name: Google microsoft_entra: name: Microsoft Entra + keycloak: + name: Keycloak custom: name: Custom upsale: