nodejs-connect-rest-sample icon indicating copy to clipboard operation
nodejs-connect-rest-sample copied to clipboard

Refresh Token returned is always undefined

Open rbarten opened this issue 10 years ago • 1 comments

The Refresh Token returned from 'getTokenFromCode' is always undefined. Within AuthHelper the oauth nodejs libary is used. Looks like this method 'getOAuthAccessToken' in the library doesn't return the Refresh Token or am I missing something here?

rbarten avatar Oct 09 '16 19:10 rbarten

Never mind... was missing 'offline_access' in the scope..

rbarten avatar Oct 09 '16 19:10 rbarten