I have few products (as sofware company) for b2b clients. Currently I have SSO and authorization separately implemented in each product. I want to start use Keycloak as my main identity access management system for all my products. Also I want to have one realm for all my clients, because of simple way to grant access to my products if they want to (client bought one product, then decided to buy another one, so I don't want integrate them again). Also I need different SSO/login methods per my client (organization). So here probably I need custom extension to provide different methods by organization (email domain probably) needs. For example one client wants auth through Azure SSO, another only Google, third LDAP and so on. Also I want to map their AD groups to our product roles at some cases. What's is correct way to achieve that in Keycloak structure? Do you have similar setup or advices? So my goal is to onboard and integrate business client once and then manage access to products in Keycloak seamlessly. Looking any advices here. Thanks!
I tried to find solution in documentation, but no success.
Update: I found an extension which solves IDP configuration per email domain: https://github.com/sventorben/keycloak-home-idp-discovery