Loading
Prepare for Email to Become the Default Login ExperienceRead More
Intermittent freezing when using using certain browser versionsRead More
Secure Your Salesforce Org
Use Custom Headers with Credentials

Use Custom Headers with Credentials

Add custom headers to external credentials to cover more use cases and security requirements. With custom headers, you can set your own parameters for authentication.

Required Editions

Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience
Available in: all editions

Custom headers are a way for a remote system to define parameters it needs as input to respond to a request. Using a custom header is similar to having a function in a piece of code and defining input parameters or arguments that allow the caller to provide input.

You can add custom headers to named credentials and external credentials. In most cases, it’s best to associate headers with the external credential, rather than the named credential, because external credentials are meant to encapsulate authentication details. For example, define custom authorization headers in an external credential to use consistent authentication across all named credential endpoints using the same external credential.

 
Loading
Salesforce Help | Article