You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
md:localizedNameType is defined as an extension of string, with a required xml:lang attribute.
Currently, the SAML SP metadata generated by Net::SAML2, does not include include the xml:lang attribute for the ServiceName and ServiceDescription elements, like it does for md:Organization/md:OrganizationName and md:Organization/md:OrganizationDisplayName.
The text was updated successfully, but these errors were encountered:
MartijnVdS
changed the title
xml:lang attribute is required in ServiceName and ServiceDescription in AttributeConsumingService
Required attribute xml:lang is missing from SP metadata, in md:ServiceName and md:ServiceDescription under md:AttributeConsumingService
May 21, 2024
MartijnVdS
pushed a commit
to MartijnVdS/perl-Net-SAML2
that referenced
this issue
May 21, 2024
The SAML2 metadata documentation states that these fields are of the
`localizedNameType` type. This means that an `xml:lang` attribute
that indicates which language the text is written in, is required.
This change adds this attribute, with a value of `en` (just like for
md:OrganizationName etc.)
Fixesperl-net-saml2#223
In the specification that defines SAML metadata (https://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf), in section 2.4.4.1, the
md:ServiceName
andmd:ServiceDescription
elements are defined as having typemd:localizedNameType
.md:localizedNameType
is defined as an extension ofstring
, with a requiredxml:lang
attribute.Currently, the SAML SP metadata generated by
Net::SAML2
, does not include include thexml:lang
attribute for theServiceName
andServiceDescription
elements, like it does formd:Organization/md:OrganizationName
andmd:Organization/md:OrganizationDisplayName
.The text was updated successfully, but these errors were encountered: