We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With the introduction of a check for missing a accessToken in the getOAuthAccessToken function, some oauth clients break.
accessToken
getOAuthAccessToken
For instance, withings doesn't return an accessToken in the accessToken parameter, but returns it in the params parameter.
params
Here is a sample response from withings.
{ err: null, accessToken: undefined, refreshToken: undefined, params: { status: 0, body: { userid: 'REDACTED', access_token: 'REDACTED', refresh_token: 'REDACTED', scope: 'REDACTED', expires_in: 10800, token_type: 'Bearer' } } }
The text was updated successfully, but these errors were encountered:
old self._loadUserProfile(accessToken, function(err, profile) {...} new self._loadUserProfile(params, function(err, profile) {...}
self._loadUserProfile(accessToken, function(err, profile) {...}
self._loadUserProfile(params, function(err, profile) {...}
Sorry, something went wrong.
No branches or pull requests
With the introduction of a check for missing a
accessToken
in thegetOAuthAccessToken
function, some oauth clients break.For instance, withings doesn't return an
accessToken
in theaccessToken
parameter, but returns it in theparams
parameter.Here is a sample response from withings.
The text was updated successfully, but these errors were encountered: