Explore Courses Blog Tutorials Interview Questions
0 votes
in Salesforce by (11.9k points)

I am developing a salesforce app and using OAuth 2.0 to login. I have a refresh token; how do I get a new access_token by sending a request to salesforce via OAuth 2.0 containing the refresh token for a particular user?

1 Answer

0 votes
by (32.1k points)

Your application can obtain a new access token by POSTing another request on

The payload should be of the form:

grant_type=refresh_token&client_id=[your client id]&client_secret=[your client secret]&refresh_token=[the user's refresh token].

Browse Categories