diff --git a/lib/bearerstrategy.js b/lib/bearerstrategy.js index 8b251225..34fbb131 100644 --- a/lib/bearerstrategy.js +++ b/lib/bearerstrategy.js @@ -185,7 +185,7 @@ function Strategy(options, verifyFn) { // force passReqToCallback to be `true` for our decoding verify wrapper /* eslint-disable no-underscore-dangle */ - BearerStrategy.call(this, util._extend({}, opts, { passReqToCallback: true }), jwtVerify); + BearerStrategy.call(this, util._extend(opts, { passReqToCallback: true }), jwtVerify); /* eslint-enable no-underscore-dangle */ this.name = 'oauth-bearer'; // Me, a name I call myself.