You need to sign in to do that
Don't have an account?
Carl Pierre
Refresk token: cannot resfresh token
Hi,
I found this URL that shows how refresh token. However, it does not work for me
https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_understanding_refresh_token_oauth.htm
I have this message error:
There are my request entries:
endpoint: https://test.salesforce.com/services/oauth2/token
grant_type: refresh_token,
client_id : CLIENT_ID,
client_secret: CLIENT_SECRET,
refresh_token: my_last_token,
format : json
I found this URL that shows how refresh token. However, it does not work for me
https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_understanding_refresh_token_oauth.htm
I have this message error:
There are my request entries:
endpoint: https://test.salesforce.com/services/oauth2/token
grant_type: refresh_token,
client_id : CLIENT_ID,
client_secret: CLIENT_SECRET,
refresh_token: my_last_token,
format : json
you exchanged code with accesstoken and refresh token
see fifth point on the following page https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_understanding_web_server_oauth_flow.htm
you should use refresh token instead of the expired token that was recieved along with the access token.
All Answers
when you first request for an access token, you are provided with an access token and a refresh token.
use the following scenario:
Here grant-type should contain text: 'refresh_token'
in refresh token, value should be the actual refresh token not the last access token
.
but still not working form me
you exchanged code with accesstoken and refresh token
see fifth point on the following page https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_understanding_web_server_oauth_flow.htm
you should use refresh token instead of the expired token that was recieved along with the access token.