By: Vijay Kumar user 13 Jul 2022 at 12:22 p.m. CDT

1 Response
Vijay Kumar gravatar
Hello, Basically we want to achieve this login flow: https://gluu.org/docs/gluu-server/4.4/authn-guide/passport/#preselecting-an-external-provider we want to select external identity provider based on email domain of users. And if email domain does not corresponds to any registered external provider we want to authenticate users against Gluu. From documents it seems possible, using "discovery based on supplied email address" but we are not able configure correctly. Could you please guide here.

By Michael Schwartz Account Admin 13 Jul 2022 at 1:19 p.m. CDT

Michael Schwartz gravatar
You need to build a discovery applications that can perform the lookup based on email, and then send the user to the Gluu Server authorization endpoint with the correct parameters in the request (to give the hint about which IDP). This topic is out of scope of community support. We do have some [partners](https://gluu.org/service-partners/) that could help you. Also, if you were to use [Gluu Solo](https://gluu.org/solo), then you could tap into the hourly support.