function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Is it possible to retrieve user attributes via saml?


I'm trying to use SalesForce as SAML identity provider. Is it possible to sent say ProfileId in assertion so that I will be able to link roles I have in my application with roles defined in salesforce?


I am also very keen on knowing the answer to this.  SF support only gave me back a blanket response to "check the boards".


Supposedly you are supposed to be able to request attributes from an IdP, but such attempts did not do anything meaningful.


Anyone made this work, or anyone from SFDC that can help shed some light?

Venkat PenukondaVenkat Penukonda
You can do this by adding custom attributes in the Connected App details.
For example, you can add an attribute called 'firstName' and set value as $User.FirstName