Passport-google-oauth-20 not working on heroku

170 Views Asked by At

As it is written in all solutions I added

proxy: true

, but it changed nothing.

In google console developers I added both http and https, to be sure that everything is working.

new GoogleStrategy(
      {
        clientID: process.env.GOOGLE_CLIENT_ID,
        clientSecret: process.env.GOOGLE_CLIENT_SECRET,
        callbackURL: '/auth/google/callback',
        proxy: true,
        passport: true,
      },

Here's my console developers console: Here's my console developers console

And the error:

error

1

There are 1 best solutions below

0
On

Typo error: My page was :

js-apollo-codgen

not

js-apollo-codegen