0

Use case We are trying to implement a openID based authentication flow with Salesforce as the service provider.

Post the successful authentication of a user we need to pass the bearer token received from identity provider (as part of SSO) to mule in the body for API calls

Problem I am not able to find out a configuration in Salesforce where I can save the bearer token.

Things explored

  1. Name credential : I am not able to find a way to use 2 name credentials in a callout (one received from OpenID and another one for mule)
1
  • You won't be able to do this out of the box. You'll need to roll your own auth provider.
    – identigral
    Apr 13, 2021 at 17:20

1 Answer 1

0

Step 1 Configure an Open ID Authentication Provider (link).

Step 2 Define a Named Credential with the configured Authentication Provider in Step 1 (link).

Note the additional step each user must perform in order to obtain an access token from their personal settings if your named credential's Identity Type is set to Per User.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .