Closed jimlambie closed 8 years ago
The API returns tokens in the following format. Can the passport response be the same?
{ "accessToken": "243606ed-e43f-41c6-8e53-75e5e2f85b82" "tokenType": "Bearer" "expiresIn": 1800 }
For example:
https://github.com/dadi/passport/blob/master/index.js#L26 return Promise.resolve(this.return(response));
return Promise.resolve(this.return(response));
Ah, wait I see what you're doing...request withdrawn.
The API returns tokens in the following format. Can the passport response be the same?