Code changes to make it work with Fly.io
This commit is contained in:
parent
5b93901976
commit
0695a01f17
9 changed files with 100 additions and 85 deletions
|
|
@ -6,9 +6,9 @@ const passport = require("passport");
|
|||
passport.use(
|
||||
new GoogleStrategy(
|
||||
{
|
||||
clientID: process.env.CLIENT_ID,
|
||||
clientSecret: process.env.CLIENT_SECRET,
|
||||
callbackURL: "/auth/google/callback",
|
||||
clientID: process.env.GOOGLE_CLIENT_ID,
|
||||
clientSecret: process.env.GOOGLE_CLIENT_SECRET,
|
||||
callbackURL: process.env.GOOGLE_CALLBACK_URL,
|
||||
scope: ["profile", "email"],
|
||||
},
|
||||
function (accessToken, refreshToken, profile, callback) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue