# Organization-linked Identity Provider with multiple domains

**URL:** <https://forum.keycloak.org/t/organization-linked-identity-provider-with-multiple-domains/28823>\
**Category:** Getting advice\
**Created:** [November 20, 2024, 10:21am UTC](https://forum.keycloak.org/t/organization-linked-identity-provider-with-multiple-domains/28823 "2024-11-20T10:21:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nano](https://avatars.discourse-cdn.com/v4/letter/n/dec6dc/32.png) [@nano](https://forum.keycloak.org/u/nano)\
**Post date:** [November 20, 2024, 10:21am UTC](https://forum.keycloak.org/t/organization-linked-identity-provider-with-multiple-domains/28823/1 "2024-11-20T10:21:05Z")

</div>

Before KC 26 we have used the [GitHub - sventorben/keycloak-home-idp-discovery: Keycloak: Home IdP Discovery - discover home identity provider or realm by email domain](https://github.com/sventorben/keycloak-home-idp-discovery) to redirect users to the “right” IdP depending on their email address. Now we switched to the Organization feature and configured one organization per IdP. This works perfectly as long you has only one domain (email) per IdP. I can configure multiple domains per organization but if I want to link the IdP to the organization - I can only choose one domain from the list, not multiple domains?  
Best regards!
