5

Named credentials are working good in single user scenario, where we are making callouts on behalf of a given user.

In a recent requirement, we need to setup a "PER USER" Named Credential, which requires each user to login and authorize separately.

The same Named Credential needs to be consumed in a Salesforce batch job, where we will sync up data of multiple users every mid night.

I am not able to figure out a way to make the a HTTP callout in Apex, and making that Named Credential work for a given user. Is it possible ?

If you believe the problem can't be solved, please up-vote this related idea : https://success.salesforce.com/ideaView?id=0873A000000E3exQAC

Abhinav Gupta
  • 3,229
  • 1
  • 20
  • 31

0 Answers0