After you’ve created the connected app, you can add custom attributes. With custom attributes, you can get more information about a user’s identity like an address or job title. Custom attributes specify SAML metadata or specify OAuth parameters that are read at OAuth runtime.
Required Editions
| Available in: both Salesforce Classic and Lightning Experience |
|
Connected Apps can be created in: Group, Essentials, Professional, Enterprise, Performance, Unlimited, and Developer Editions Connected Apps can be installed in: All editions |
| User Permissions Needed | |
|---|---|
| To read, create, update, or delete connected apps: |
Customize Application AND either Modify All Data OR Manage Connected Apps |
| To update all fields except Profiles, Permission Sets, and Service Provider SAML Attributes: |
Customize Application AND either Modify All Data OR Manage Connected Apps |
| To update Profiles, Permission Sets, and Service Provider SAML Attributes: | Customize Application AND Modify All Data AND Manage Profiles and Permission Sets |
| To rotate the consumer key and consumer secret: | Allow consumer key and secret rotation |
| To install and uninstall connected apps: |
Customize Application AND either Modify All Data OR Manage Connected Apps |
| To install and uninstall packaged connected apps: |
Download AppExchange Packages AND Customize Application AND either Modify All Data OR Manage Connected Apps |
See New connected apps can no longer be created in Spring ‘26 for more details.
- Open the list of apps. From Setup, enter Apps in the Quick Find box, then select App Manager.
- Locate the connected app, click
,
and then select View. - Under Custom Attributes, click New.
Each custom attribute must have a unique key and must use fields available from the Insert Field menu. For example, assign a key name, such as
countryand insert the field$Organization.Country. When using SAML, attributes are sent as SAML attribute statements. When using OAuth, attributes are available as acustom_attributesobject in the user’s Identity URL.