Skip to content

Commit

Permalink
Add callbackURL to meta.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhanson committed Apr 18, 2018
1 parent 4e49015 commit 49f6d51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/strategy.js
Expand Up @@ -253,6 +253,7 @@ OAuthStrategy.prototype.authenticate = function(req, options) {
}
}
params.oauth_callback = callbackURL;
meta.callbackURL = callbackURL;

this._oauth.getOAuthRequestToken(params, function(err, token, tokenSecret, params) {
if (err) { return self.error(self._createOAuthError('Failed to obtain request token', err)); }
Expand Down

0 comments on commit 49f6d51

Please sign in to comment.