londonappbrewery / Authentication-Secrets

Companion Code for the Authentication Module on The Complete 2019 Web Development Bootcamp
https://www.appbrewery.co
440 stars 524 forks source link

OAuth2Strategy requires a clientID option #16

Closed pandeyom331 closed 3 years ago

pandeyom331 commented 3 years ago

C:\Users\lenovo\Downloads\Authentication-Secrets-master\node_modules\passport-oauth2\lib\strategy.js:82 if (!options.clientID) { throw new TypeError('OAuth2Strategy requires a clientID option'); }
^
TypeError: OAuth2Strategy requires a clientID option at Strategy.OAuth2Strategy (C:\Users\lenovo\Downloads\Authentication-Secrets-master\node_modules\passport-oauth2\lib\strategy.js:82:34)
at new Strategy (C:\Users\lenovo\Downloads\Authentication-Secrets-master\node_modules\passport-google-oauth20\lib\strategy.js:52:18) at Object. (C:\Users\lenovo\Downloads\Authentication-Secrets-master\app.js:57:14)

pandeyom331 commented 3 years ago

.