zitadel / saml

A SAML 2.0 server (IdP) implementation written for Go
https://zitadel.com
Apache License 2.0
45 stars 9 forks source link

SAML Metadata for serviceproviders should also provide the necessary information #69

Open stebenz opened 11 months ago

stebenz commented 11 months ago

Is your feature request related to a problem? Please describe. There is a function to unmarshal the metadata to a serviceprovider but it is not checked with the SPSSODescriptor that the metadata is also part of a serviceprovider.

Describe the solution you'd like Check if the SPSSODescriptor is not empty with the necessary attributes.

Describe alternatives you've considered Leave it as is, which could result in errors which are not really descriptive.