Reputation: 457
Scenario:
The SAML SP requires username, firstname and lastname as ATTRIBUTES in the SAML assertion. The SAML SP claim configuration is set as follows
firstname and lastname are sent in the SAML assertion as expected, whereas username is not sent in the SAML assertion.
Is there a way to achieve this?
Note: Further investigation showed that the username is not listed in the CLAIMS table UM_USER_ATTRIBUTE and as such may not be accessible via a claim mapping defined in WSO2 IS. Interestingly in OIDC the username is returned as the sub claim which is actually mapped to http://wso2.org/claims/username
Any hint and insight is appreciated.
Upvotes: 0
Views: 294
Reputation: 414
You need to enable scim for JDBCUserStoreManager. In user-mgt.xml file makes SCIMEnabled property to true as follows.
<Property name="SCIMEnabled">true</Property>
Then try the SAML flow.
Upvotes: 0