function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
chetan@blusynergy.comchetan@blusynergy.com 

Refresh Token is missing from SalesForce response

When I do https://login.salesforce.com/services/oauth2/token for getting access_token
then its giving this response

"id":"https://login.salesforce.com/id/00D80000000sdmlEAA/0048000000asdfYAAQ",
"issued_at":"1385537310855","scope":"full",
"instance_url":"https://ap1.salesforce.com",
"signature":"JKDzv7DRqREdsf/7+werGpQvgVK8payAmhGAn8WlGIY=",
"access_token":"00D90000000nsml!AQ4AQMfBasdfasdaDJS5W7unp31jfNpQDZYmQ1ef.
_jllTyoeV6SHvTVaYAb5VqgeCHTNHPk9W94HwqngPo5TnIx9UJTXfQs"

here you can see refresh_token is missing as per documentation wriiten on
http://www.salesforce.com/us/developer/docs/api_rest/Content/intro_understanding_web_server_oauth_flow.htm
see step number 5.




Any idea why refresh_token is not coming

Gaurav KheterpalGaurav Kheterpal

This has nothing to do with hackathon so I've moved this to 'General Development'.

 

Chetan,

 

In future, please post your queries to an appropriate section on the discussion boards.

 

Thanks!
Gaurav