Skip to content

SP Metadata is incorrect #123

@mikewiacek

Description

@mikewiacek

The first two lines of the metadata generated by my service provider code is wrong:

<EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" validUntil="2017-10-28T00:05:27.336Z" entityID="https://vtsaml-dev.googleplex.com/saml/shib/meta">
  <SPSSODescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" validUntil="0001-01-01T00:00:00Z" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol" AuthnRequestsSigned="false" WantAssertionsSigned="true">

If you notice the validUntil on SPSSODescriptor is the zero time.Time value. Most IDPs seem to ignore it, but testshib.org does not. It won't encrypt responses with my public key, because the metadata says the key has expired.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions