boxyhq / mock-saml

A simple mock SAML 2.0 Identity Provider
https://mocksaml.com
Apache License 2.0
87 stars 23 forks source link

Feature request: FriendlyName flag #575

Open nbennett25 opened 4 months ago

nbennett25 commented 4 months ago

Some SAML SPs are looking for FriendlyName in the Attribute properties in the SAML Response, rather than Name:

 <saml:Attribute Name="firstName"
                            NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">

Is there a way to set this property to FriendlyName? If not, could this be set an .env var?

...
USE_ATTRIBUTE_FRIENDLYNAME=true
...