I am wondering if there is a way to get the user_saml app to add additional info via additional attributes included in the saml āAttributeStatementā. Currently, I just get the userās UID and that becomes autoprovisioned as the username. My SAML provider also includes additional fields such as email, firstname, lastname, etc. Can these be mapped to the user? Below is an example of the fields Iām receiving:
<ns2:AttributeStatement>
<ns2:Attribute Name="UID" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<ns2:AttributeValue>15845684321654851</ns2:AttributeValue>
</ns2:Attribute>
<ns2:Attribute Name="FIRSTNAME" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<ns2:AttributeValue>STEVE</ns2:AttributeValue>
</ns2:Attribute>
<ns2:Attribute Name="LASTNAME" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<ns2:AttributeValue>SMITH</ns2:AttributeValue>
</ns2:Attribute>
</ns2:AttributeStatement>