Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Country Selector AFTER clicking eidas identity provider #15

Open
RaveNN-0 opened this issue Feb 21, 2025 · 5 comments
Open

Country Selector AFTER clicking eidas identity provider #15

RaveNN-0 opened this issue Feb 21, 2025 · 5 comments

Comments

@RaveNN-0
Copy link

Hello,

Is it possible to get the Country Selector after clicking the eidas identity provider button ? Most users use username/password to authenticate and always having to click "Try another option" is not end-user friendly.

Thank you !

@dhm-msd
Copy link
Collaborator

dhm-msd commented Feb 21, 2025

Hello, you will need to adjust your Browser authentication flow set remove the Username password form. This should allow keycloak to see that it only has 1 IDP avaiable and therefore display the country selector page.

@RaveNN-0
Copy link
Author

But that would then disable username/password. I still want to keep this method active.

@dhm-msd
Copy link
Collaborator

dhm-msd commented Feb 21, 2025

This behavior is a "limitation" of Keycloak. By default, its login template displays only one selected Identity Provider (IDP) at a time.

To customize this, you have two options:

Custom Login Template – Create a custom Keycloak login template where you can display multiple IDP buttons as needed.
Identity Provider Redirector – Use the Identity Provider Redirector to have your frontend request a specific IDP from Keycloak and manage the selection process within your application.

@RaveNN-0
Copy link
Author

RaveNN-0 commented Feb 21, 2025

That is what I have, the problem that occurs is that the Country Selection Step is still being "forced". I tried placing the step lower in the flow chain but when I click its button, it doesn't let me select the country (which leads me to believe it will just trigger an error in a further step)

@RaveNN-0
Copy link
Author

Any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants