3

I have a third party REST API that needs to be called from Salesforce, using OAuth for authentication. Is this actually possible? If so, how? I really can't find anything useful on the web. For me, it seems that I would have to build this myself.

1

1 Answer 1

3

You can use the "named credential" feature http://help.salesforce.com/apex/HTViewHelpDoc?id=named_credentials_about.htm&language=en_US

With named credentials the Oauth2 authentication flow is handled automatically, you don't need to implement specific code for it.

1
  • I'm trying to get this to work. I have a client credential grant that is working elsewhere but I have absolutely no clue how to do this with a named credential.
    – Semmel
    Commented Nov 22, 2018 at 23:44

You must log in to answer this question.

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