OAuth Archives

OAuth 2.0 Authorization Code Grant Type Using Salesforce

Author - Webner
|
0 Comments
|

As I mentioned in my previous post what is Oauth 2.0 authorization code grant type.

To implement this authorization in Salesforce we have to perform the following steps”

Implement apex code to send first request
String client_id = ‘*******************’;
String client_Secret = ‘************’;
Blob headerValue = Blob.valueOf(client_id + ‘:’ + client_Secret);
Http http = new Http Read more…