In the scenario where Salesforce is configured as Identity Provider, how can the SAML assertion returned to authenticating Service Providers be modified to include additional attributes? I cannot see any option for adding custom fields when creating a new connected app and likewise I cannot see any options for doing this when editing an existing connected app – I guess I'm not looking in the right place?
Thanks
Best Answer
When you edit an existing connected app, there should be a section down the bottom called Custom Attributes.
Here you can set custom fields, and a formula for the values of those fields, to be returned in the SAML response.
From the documentation:
For more information, see https://help.salesforce.com/apex/HTViewHelpDoc?id=connected_app_edit.htm