Add display name to the Extenstions of SAML request
@kayjoosten is already working on this.
Since Jun 22, 2026.
Assessment
This issue has not been assessed yet.
Description
Add DisplayName to the <samlp:Extensions> of the Stepup callout AuthnRequest
User story
As a user, I want to see the name of the service I am logging into during second-factor authentication, so that I can verify I am authenticating for the right application and detect unexpected or malicious authentication attempts.
Background
This is the EB side of a broader initiative to show the service name during Stepup authentication. See the RFC for the full design: OpenConext/Stepup-Gateway#587.
EB acts as an SFO application connecting to Stepup-Gateway on behalf of thousands of services. Rather than showing a generic proxy name (e.g. "OpenConext"), we want to pass the actual service name to Stepup so it can be shown in the 2FA UI, push notifications, and SMS messages.
EB already knows the service name via the name:en and name:nl fields of the SP entity (saml20_sp) or RP entity (oidc10_rp) from OpenConext-manage, pushed to EB via the metadata push API.
What needs to be done
Introduce a feature flag feature_stepup_send_service_name in EB (following the existing feature flag pattern in config/packages/parameters.yml.dist).
When enabled, for every Stepup callout AuthnRequest, EB MUST add an mdui:UIInfo element to the <samlp:Extensions> containing a mdui:DisplayName for each available language. Example:
<samlp:Extensions>
<mdui:UIInfo>
<mdui:DisplayName xml:lang="nl">Electronische leeromgeving</mdui:DisplayName>
</mdui:UIInfo>
</samlp:Extensions>
Acceptance criteria
- A feature flag
feature_stepup_send_service_nameis introduced, disabled by default - When enabled, the
mdui:UIInfoelement withmdui:DisplayNameentries forenandnlis added to the<samlp:Extensions>of the Stepup callout AuthnRequest - The display names are sourced from
name:enandname:nlor any other locale of the SP/RP entity from OpenConext-manage - If a language's display name is not available, that
mdui:DisplayNameelement is omitted (no empty values) - When the feature flag is disabled, the AuthnRequest is unchanged from current behavior
Related
- RFC: OpenConext/Stepup-Gateway#587
- Dominant language
- PHP
- Stars
- 17
- Forks
- 25
- Avg merge
- 4d 1h
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenConext/OpenConext-engineblock
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
OpenConext/OpenConext-engineblock#2040 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
OpenConext/OpenConext-engineblock#2015 ·
-
maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
OpenConext/OpenConext-engineblock#1960 · 2 comments ·
-
discovery UI
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
OpenConext/OpenConext-engineblock#1734 · 2 comments ·
-
WAYF Cypress spec: fix suppressed failures behind removed it.only (visibility/weight/defaultIdp) Open
Difficulty 4/5 3-5 days Newbie friendliness 52/100
OpenConext/OpenConext-engineblock#2110 · 2 comments ·
All issues in OpenConext/OpenConext-engineblock
Similar issues
-
priority: p3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/librarian#7636 ·
-
0. Needs triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nextcloud/fulltextsearch#1011 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
phpstan/phpstan-doctrine#794 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Automattic/static-site-importer#1767 ·