OfficialSPIAuthenticationActive
keycloak-home-idp-discovery
sventorben/keycloak-home-idp-discovery ↗
Discover the home IdP from the user's email domain.メールドメインからホームIdPを自動判定
- ★
- 341
- Forks
- 64
- Contributors
- 5
- Updated
- 2026-10-02
- KC
- 26.8.0
- License
- MIT
What it can doできること5
- Show a username-only form and redirect the user to their home IdP based on the email domain, skipping the IdP selection list.ユーザー名だけのフォームを表示し、メールドメインからホームIdPを判定して自動リダイレクト(IdP選択画面を省略)
- Match on a custom user attribute such as a UPN instead of the email.メールの代わりにUPNなど任意のユーザー属性で判定できる
- Skip the login page entirely when the address comes as an OIDC
login_hintor SAML NameID.OIDCのlogin_hintやSAMLのNameIDで渡された場合はログイン画面ごと省略できる - Forward already-federated users to a linked IdP even if no domain matches; they may log in with their local username.ドメインが一致しなくても、リンク済みIdPへ転送できる(ローカルのユーザー名でも可)
- Bind it per realm or per client by using it in a custom browser flow.カスタムのブラウザフローに組み込み、realm単位でもクライアント単位でも使える
What it cannot do / limitsできないこと・制約3
- Users with an unverified email are not forwarded unless you enable
Forward users with unverified email(or trust the IdP's email).メール未検証のユーザーは転送されない(Forward users with unverified emailを有効にするか、IdP側のメールを信頼する設定が必要) - The login page is never bypassed when
prompt=login|consent|select_account,max_ageor SAMLForceAuthnis present.prompt=login|consent|select_account、max_age、SAMLのForceAuthnがあるとログイン画面は省略されない - The legacy WildFly-based distribution is no longer supported, and older versions get no backports.旧WildFlyベースのディストリビューションはサポート外。旧バージョンへのバックポートもなし
Requirements前提条件
- Use the extension's major version that matches your Keycloak major version.Keycloakのメジャーバージョンに合わせた拡張バージョンを使う