Skip to content

Add support for preferred IdPs in WAYF display#1985

Open
johanib wants to merge 2 commits intomainfrom
feature/1970-preferred-idps-wayf
Open

Add support for preferred IdPs in WAYF display#1985
johanib wants to merge 2 commits intomainfrom
feature/1970-preferred-idps-wayf

Conversation

@johanib
Copy link
Copy Markdown
Contributor

@johanib johanib commented Apr 22, 2026

Prior to this change, there was no way to configure priority IdPs.

This change adds a wayf.preferred_idp_entity_ids parameter to configure IdPs that should show prominent in the wayf.
IdPs in this list are shown on top of the wayf, outside of the regular list.

Also make the twig templates more explicit by not enabling the global variable scope.

Resolves #1970

@johanib johanib force-pushed the feature/1970-preferred-idps-wayf branch 2 times, most recently from 2f6926b to 62b309b Compare April 22, 2026 08:32
johanib added 2 commits April 22, 2026 10:53
Prior to this change, there was no way to configure priority IdPs.

This change adds a `wayf.preferred_idp_entity_ids` parameter to configure IdPs that should show prominent in the wayf.
IdPs in this list are shown on top of the wayf, outside of the regular list.

Resolves #1970
…vice

Prior to this change, much of the wayf rendering happened in Corto.

This change moves that logic to the Symfony workspaces.

Benefits:
- Business logic is now in a testable Symfony service with proper DI
- Production (SingleSignOn) and the functional test (WayfController)
  share the exact same rendering path, eliminating logic duplication
- DiContainerRuntime bridge is thinner
@johanib johanib force-pushed the feature/1970-preferred-idps-wayf branch from 62b309b to a8115aa Compare April 22, 2026 08:54
@johanib johanib requested a review from kayjoosten April 22, 2026 08:55
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

Successfully merging this pull request may close these issues.

Show preferred IdPs on a special position in the WAYF

1 participant