simplesamlphp / saml2

SimpleSAMLphp low-level SAML2 PHP library
https://www.simplesamlphp.org
GNU Lesser General Public License v2.1
286 stars 135 forks source link

Customizable NameID-format #330

Closed jellingsen closed 1 year ago

jellingsen commented 1 year ago

The NameID format is hard-coded inside Constants.

We have a case now where that value has to be NAMEID_PERSISTENT

tvdijen commented 1 year ago

I think you're reading your requirement wrong. NAMEID_PERSISTENT as a value would not even be a valid URI/URN as the specifications mandate.

jellingsen commented 1 year ago

Never post issues before the first cup of coffee!

You are ofcourse correct. I read my notes wrong.

This is where i would need to use NAMEID_PERSISTENT. This is a Auth0-implementation. I've edited the vendor-files for now and made it work.