Problem/Motivation

Some Identity Providers for eHerkenning and eIDAS require the following attributes to be set in the SAML 2.0 SP Metadata, which are not added by default:

The isDefault attribute on the AssertionConsumerService element:

<md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://[yourdomain]/profiles/dvg/libraries/simplesamlphp/www/module.php/saml/sp/saml2-acs.php/eidas_low" index="0" isDefault="true"/>
<md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact" Location="http://[yourdomain]/profiles/dvg/libraries/simplesamlphp/www/module.php/saml/sp/saml2-acs.php/eidas_low" index="1" isDefault="false"/>

The isRequired-attribute with value false, for example on the optional "Initials" attribute for eIDAS:

<md:RequestedAttribute Name="urn:etoegang:1.9:attribute:Initials" isRequired="false"/>

Proposed resolution

Patch the simplesamlphp library so the SAML 2.0 SP Metadata is exported with all required attributes.

Remaining tasks

Make a patch for simplesamlphp to add the missing attributes, make a patch for DvG to add the changes.

User interface changes

none.

API changes

none.

Data model changes

none.

Comments

Tom Voesenek created an issue. See original summary.

tvoesenek’s picture

This patch adds the Simplesaml patch to fix the problem.

tvoesenek’s picture

Status: Active » Needs review
ralphvdhoudt’s picture

StatusFileSize
new2.71 KB

Rerolled against latest dev

bskibinski’s picture

Status: Needs review » Reviewed & tested by the community

Patch has been running on production without problems.
Has been reviewed and tested.

  • paulvandenburg committed 9b9de84 on 7.x-1.x
    Issue #3004091 by TVoesenek, ralphvdhoudt: Missing required attributes...
paulvandenburg’s picture

Status: Reviewed & tested by the community » Fixed

I hope Drupal.org accepts the local patch when building a new release. But we'll find out soon.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.