Open bolutife-lawrence opened 7 years ago
I had the same problem and found solution to import strategy in such way: var GoogleTokenStrategy = require('passport-google-token').Strategy
That's the exact way I had it imported @MaxCaribe. The problem was leaving in the dummy text Place you client secret here ...
or something like that, in the app's config for authentication. Using an empty string instead, solved the problem.
You can use es6 syntax like
import { Strategy as GoogleTokenStrategy } from 'passport-google-token'
Looks like passport-google-token is having some trouble registering.