|
@@ -266,7 +266,7 @@ class PassportService {
|
|
|
passport.use(new GoogleStrategy({
|
|
passport.use(new GoogleStrategy({
|
|
|
clientId: config.crowi['security:passport-google:clientId'],
|
|
clientId: config.crowi['security:passport-google:clientId'],
|
|
|
clientSecret: config.crowi['security:passport-google:clientSecret'],
|
|
clientSecret: config.crowi['security:passport-google:clientSecret'],
|
|
|
- callbackURL: 'http://localhost:3000/passport/google/callback',
|
|
|
|
|
|
|
+ callbackURL: 'http://localhost:3000/passport/google/callback', //change this
|
|
|
skipUserProfile: false,
|
|
skipUserProfile: false,
|
|
|
}, function(accessToken, refreshToken, profile, done) {
|
|
}, function(accessToken, refreshToken, profile, done) {
|
|
|
if (profile) {
|
|
if (profile) {
|