Change behavior with SAML mandatory/optional attributes in SAML Issuer
Currently, in our SAML IDP implementation, if an attribute is mandatory, an error is displayed if user don't have this attribute in its session. And if an attribute is optional, it is never sent in SAML response, it is only available in attribute request.
I propose to send optional attribute in SAML response if there are values in user session.