ccoenraets / forcejs

Micro library to use the Salesforce REST APIs in JavaScript Apps
175 stars 61 forks source link

refreshtoken not generated #37

Open moblizeit opened 4 years ago

moblizeit commented 4 years ago

i have the below code that gives me access token but no refresh token. please advise.

let callbackUrl = 'https://XXX.XX.ai' let oauth = OAuth.createInstance('MY APP CLIENT KEY','', callbackUrl); oauth.login().then( async (oauthResult) => { DataService.createInstance(oauthResult); console.log("Logged Into Salesforce Successfully:::" + JSON.stringify(oauthResult)); });

ryanjeric commented 3 years ago

@moblizeit hello have u already fixed this issue?