Skip to content

Support metadata DiscoveryResponse for discovery service (was #363) #28

Closed

Description

@sspghost

From andreass...@gmail.com on November 29, 2010 10:40:01

We need to support stuffing the idpdisc:DiscoveryResponse in metadata; and more importantly in the discovery service, by an optional configuration, restrict the receivers of responses from the discovrey service to hostnames listed in metadata (of trusted SPs).

As specified in the IdP Discovery profile: http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-idp-discovery.pdf

Original issue: http://code.google.com/p/simplesamlphp/issues/detail?id=363

Activity

  1. sspghost commented on Feb 27, 2014

    @sspghost
    Author

    From mikaelwe...@gmail.com on September 24, 2013 14:39:54

    We need the above to be fixed.

  2. sspghost commented on Feb 27, 2014

    @sspghost
    Author

    From a...@itcm.se on February 06, 2014 04:14:27

    What is status on this issue? I need this to work.

  3. added this to the milestone on Feb 27, 2014
  4. tvdijen commented on Dec 11, 2018

    @tvdijen
    Member

    Is this still relevant in 2018?

  5. jaimeperez commented on Dec 12, 2018

    @jaimeperez
    Member

    I guess the one who could best answer that question is @andreassolberg.

  6. jiscfoo commented on Apr 5, 2019

    @jiscfoo

    Is this still relevant in 2018?

    It's relevant in 2019 :-) At least for people looking to use the UK Federation's Central Discovery Service… the attribute is required in the metadata for the SP in order to use it so currently requires manually adding upon registration.

  7. thijskh commented on Sep 28, 2019

    @thijskh
    Member

    A pull request is most welcome

  8. removed this from the 2.0 milestone on Sep 28, 2019
  9. alexstuart commented on Apr 15, 2020

    @alexstuart

    A pull request is most welcome

    Can you provide pointers into which part of the codebase need modifying. Presumably it's only the metadata generation part of the code, because when the UK federation has manually added this endpoint, we've generated it from the URLs in the AssertionConsumerService endpoint.

  10. added this to the 3.0 milestone on May 20, 2023
  11. skyforest commented on Oct 18, 2023

    @skyforest

    What ever happened with this?

  12. tvdijen commented on Oct 18, 2023

    @tvdijen
    Member

    Support was added to the saml2-library to publish the discovery service in the metadata, but that's about it.

  13. sunetzacharias commented on Mar 14, 2025

    @sunetzacharias

    This is now prompted as a warning to the end user in the discovery service SeamlessAccess (RA21 / thiss.io) if the federation metadata of this service provider does not provide this information.

  14. thijskh commented on Mar 14, 2025

    @thijskh
    Member

    I've observed that and it should not be too hard to fix in SSP. It does need adding DiscoveryResponse support to the 4.x branch of the saml2 lib.

  15. linked a pull request that will close this issueBackport support for IDP Discovery protocol #2402on Mar 14, 2025
  16. thijskh commented on Mar 17, 2025

    @thijskh
    Member

    It has been merged for SimpleSAMLphp 2.4

  17. madsi1m commented on Mar 18, 2025

    @madsi1m
    Contributor

    this is causing me this error from simplesamlphp-module-metarefresh:

    XML parser returned: Expected a value identical to "urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol". Got: "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect

    sample xml: https://md.aaf.edu.au/aaf-metadata.xml

  18. madsi1m commented on Mar 18, 2025

    @madsi1m
    Contributor

    setting NS_IDPDISC to 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect' seems to work for me but might not for others

  19. thijskh commented on Mar 18, 2025

    @thijskh
    Member

    The metadata given is invalid. This part violates a MUST in the spec because it has a wrong binding:

            <idpdisc:DiscoveryResponse Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://unimelbedu.wamsedu.com.au/index.php?acs" index="0" isDefault="false"/>
    
  20. madsi1m commented on Mar 19, 2025

    @madsi1m
    Contributor

    indeed and they have fixed it :)

  21. locked as resolved and limited conversation to collaborators on Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions