• chetan@blusynergy.com
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies

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_fl...
see step number 5.

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

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_fl...
see step number 5.