Skip to content

Feature/issue 48 mdui chunk#137

Open
kayjoosten wants to merge 1 commit into
mainfrom
feature/issue-48-mdui-chunk
Open

Feature/issue 48 mdui chunk#137
kayjoosten wants to merge 1 commit into
mainfrom
feature/issue-48-mdui-chunk

Conversation

@kayjoosten

Copy link
Copy Markdown

No description provided.

kayjoosten added a commit to OpenConext/Stepup-gssp-bundle that referenced this pull request Jul 2, 2026
…sting

Prior to this change, composer.json required surfnet/stepup-saml-bundle ^7.0
from packagist, which does not yet contain MduiChunk. This caused phpstan to
fail with "class not found" errors for all mdui-related symbols.

This change adds a VCS repository pointing to the GitHub source and pins the
requirement to the feature branch where MduiChunk is implemented. This is a
temporary measure to enable end-to-end integration testing from EngineBlock
through to the GSSP example application.

This must be reverted to a packagist version constraint once the saml-bundle
PR is merged and a new release is tagged.

Links:
- OpenConext/Stepup-saml-bundle#137
@kayjoosten kayjoosten force-pushed the feature/issue-48-mdui-chunk branch from e1cdf19 to 9f4866a Compare July 2, 2026 07:33
kayjoosten added a commit to OpenConext/Stepup-gssp-bundle that referenced this pull request Jul 2, 2026
Prior to this change, the GSSP bundle discarded the mdui:UIInfo extension
forwarded by the Gateway on proxy AuthnRequests. Consumers had no way to
retrieve per-language service display names from session state, making it
impossible to show the correct service name during step-up authentication
and registration flows.

This change saves mdui:UIInfo to session state in both
saveAuthenticationRequest() and saveRegistrationRequest(), and exposes it
through getMdui(): ?MduiChunk and hasMdui(): bool on StateHandler and
StateHandlerInterface. Behat scenarios cover the present and absent cases
for both flows. SSOController is corrected to read the relay state from
the query string only, matching the HTTP-Redirect binding specification.

Links:
- #48
- OpenConext/Stepup-saml-bundle#137
kayjoosten added a commit to OpenConext/Stepup-gssp-bundle that referenced this pull request Jul 2, 2026
…sting

Prior to this change, composer.json required surfnet/stepup-saml-bundle ^7.0
from packagist, which does not yet contain MduiChunk. This caused phpstan to
fail with class-not-found errors for all mdui-related symbols, blocking CI.

This change adds a VCS repository pointing to the GitHub source and pins the
requirement to the feature branch that implements MduiChunk. This is temporary
and must be reverted to a packagist version constraint once the saml-bundle
pull request is merged and a new release is tagged.

Links:
- OpenConext/Stepup-saml-bundle#137
kayjoosten added a commit to OpenConext/Stepup-gssp-bundle that referenced this pull request Jul 3, 2026
Prior to this change, the GSSP bundle discarded the mdui:UIInfo extension
forwarded by the Gateway on proxy AuthnRequests. Consumers had no way to
retrieve per-language service display names from session state, making it
impossible to show the correct service name during step-up authentication
and registration flows.

This change saves mdui:UIInfo to session state in both
saveAuthenticationRequest() and saveRegistrationRequest(), and exposes it
through getMdui(): ?MduiChunk and hasMdui(): bool on StateHandler and
StateHandlerInterface. Behat scenarios cover the present and absent cases
for both flows. SSOController is corrected to read the relay state from
the query string only, matching the HTTP-Redirect binding specification.

Links:
- #48
- OpenConext/Stepup-saml-bundle#137
kayjoosten added a commit to OpenConext/Stepup-gssp-bundle that referenced this pull request Jul 3, 2026
…sting

Prior to this change, composer.json required surfnet/stepup-saml-bundle ^7.0
from packagist, which does not yet contain MduiChunk. This caused phpstan to
fail with class-not-found errors for all mdui-related symbols, blocking CI.

This change adds a VCS repository pointing to the GitHub source and pins the
requirement to the feature branch that implements MduiChunk. This is temporary
and must be reverted to a packagist version constraint once the saml-bundle
pull request is merged and a new release is tagged.

Links:
- OpenConext/Stepup-saml-bundle#137
Before this change the bundle could not expose mdui:UIInfo from
AuthnRequest extensions, so callers had no reliable way to show the
service's localized display name during step-up flows. The branch also
needed defensive hardening around signature transform handling and a
supported Symfony test matrix so the new behavior could ship safely.

Address this by mapping UIInfo extensions to a dedicated MduiChunk and
exposing helpers to read localized display names from parsed
extensions. Reject unsupported XML Signature transforms before the
underlying SAML library evaluates them, fail loudly on malformed UIInfo
XML, and refresh the dependency bounds and CI matrix to supported,
reproducible versions.

- add component and unit coverage for UIInfo parsing and transform
  validation
- document the new UIInfo support and the audit-related dependency
  decisions

Resolves: #48
@kayjoosten kayjoosten force-pushed the feature/issue-48-mdui-chunk branch from 790eab1 to f4a5390 Compare July 10, 2026 11:09
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.

1 participant