p2-inc / keycloak-orgs

Single realm, multi-tenancy for SaaS apps
https://phasetwo.io
Other
418 stars 72 forks source link

Question: Home IDP mapper to redirect based on query param rather than form value #250

Closed dheeraj-armada closed 5 months ago

dheeraj-armada commented 5 months ago

I would like to know whether it is possible for us to redirect the user directly to the IDP (using Home IDP discovery extension) without the user having to enter it in the KC username form. This is desirable because our application already has to get the email from the user and we are passing it to KC as a query parameter.

dheeraj-armada commented 5 months ago

The answer to this is to turn on "Bypass Login Page" which was not working as expected in my trials. This was either a bug which was accidentally discovered or an unintended misconfiguration. I am closing this issue because I currently don't have the exact scenario when this happens.