Back
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?
Your application can obtain a new access token by POSTing another request on https://login.salesforce.com/services/oauth2/token.
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].
31k questions
32.8k answers
501 comments
693 users