Custom attribute mapping involves mapping extra attributes like first name, last name, and phone from Identity Providers (IdPs) to a custom Drupal user field. Similar to attribute mapping, this mapping also updates the custom attributes upon each Single Sign-On (SSO) login.
Steps for custom attribute mapping:
Go to the Mapping tab > Custom Attribute Mapping.
In the Custom Attributes Mapping table enter the following information
Drupal Field Machine Name → Machine name of Drupal user field.
IDP Attribute Name → Attribute name from IdP that you want to map.
Separator → Leave it blank if the attribute value is a regular string from the IdP. If the attribute value is in array format, use a comma (,) as the separator. If you receive multiple attributes in string format, use the appropriate separator. For example, if the value of the attribute is like "manager-admin-user," use a dash (-) as the separator.
Click on the Add button if you want to add more attributes.
Scroll down and click on the Save Configuration button.