Skip to content

Backport support for IDP Discovery protocol - #2402

Merged
tvdijen merged 2 commits into
simplesamlphp-2.4from
feature/idpdisc
Mar 17, 2025
Merged

tvdijen merged 2 commits into
simplesamlphp-2.4from
feature/idpdisc

Conversation

@tvdijen

@tvdijen tvdijen commented Mar 14, 2025 •

Copy link
Copy Markdown
Member

Closes #28

I know next to nothing about this specification, but I've made the following assumptions:

  • Multiple entries of this element are allowed
  • These entries only make sense in the Extensions of an SPSSODescriptor

I've verified that:

  • Setting this in a saml:SP-entry results in an entry in the SP-metadata
  • Parsing XML-metadata containing this entry results in a proper SSP metadata-array.

@tvdijen tvdijen changed the title Backport support for IDP Discovery protocol WIP: Backport support for IDP Discovery protocol Mar 14, 2025
@tvdijen tvdijen linked an issue Mar 14, 2025 that may be closed by this pull request
@tvdijen tvdijen added this to the 2.4 milestone Mar 14, 2025
@tvdijen tvdijen self-assigned this Mar 14, 2025
@tvdijen
tvdijen force-pushed the feature/idpdisc branch 3 times, most recently from 74cdb3d to 0fa1b0a Compare March 16, 2025 10:29
@codecov

codecov Bot commented Mar 16, 2025 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 44.99%. Comparing base (e1a0859) to head (185b288).
Report is 3 commits behind head on simplesamlphp-2.4.

Additional details and impacted files
@@                   Coverage Diff                   @@
##             simplesamlphp-2.4    #2402      +/-   ##
=======================================================
+ Coverage                44.85%   44.99%   +0.14%     
- Complexity                3941     3947       +6     
=======================================================
  Files                      165      165              
  Lines                    13206    13227      +21     
=======================================================
+ Hits                      5923     5952      +29     
+ Misses                    7283     7275       -8     
🚀 New features to boost your workflow:
  • ❄ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@tvdijen
tvdijen force-pushed the feature/idpdisc branch 5 times, most recently from 4fcd6d6 to 1e08542 Compare March 16, 2025 11:59
@tvdijen tvdijen changed the title WIP: Backport support for IDP Discovery protocol Backport support for IDP Discovery protocol Mar 16, 2025
@tvdijen
tvdijen requested a review from thijskh March 16, 2025 12:01

@thijskh thijskh left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work.

One I think crucial thing was missing and that is that we by default add our own discoresponse URL to the metadata we generate. So that all SPs that use default endpoints will publish it so it can be used by the discovery services. I've added that now.

@tvdijen
tvdijen merged commit 3fcc690 into simplesamlphp-2.4 Mar 17, 2025
tvdijen added a commit that referenced this pull request Mar 17, 2025
* Backport support for IDP Discovery protocol

* Add default DiscoveryResponse endpoints to generated SP metadata

---------

Co-authored-by: Thijs Kinkhorst <thijs@kinkhorst.com>
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 16, 2025
@tvdijen
tvdijen deleted the feature/idpdisc branch March 10, 2026 19:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support metadata DiscoveryResponse for discovery service (was #363)

2 participants