diff --git a/lib/strategy.js b/lib/strategy.js index 57845ea..ca6fde7 100644 --- a/lib/strategy.js +++ b/lib/strategy.js @@ -22,7 +22,7 @@ function PasswordGrantStrategy(options, verify) { this.name = 'password-grant'; this._verify = verify; - this._oauth2 = new OAuth2(options.clientID, '', '', '', options.tokenURL, options.customHeaders); + this._oauth2 = new OAuth2(options.clientID, options.clientSecret, '', '', options.tokenURL, options.customHeaders); this._passReqToCallback = options.passReqToCallback; this._skipUserProfile = (options.skipUserProfile === undefined) ? false : options.skipUserProfile;