ShieldX commited on
Commit
8201e2a
·
verified ·
1 Parent(s): 2ea621f

Update src/routes/authRoutes.js

Browse files
Files changed (1) hide show
  1. src/routes/authRoutes.js +2 -1
src/routes/authRoutes.js CHANGED
@@ -7,7 +7,8 @@ const router = express.Router();
7
  router.get(
8
  '/google',
9
  passport.authenticate('google', {
10
- scope: ['profile', 'email']
 
11
  })
12
  );
13
 
 
7
  router.get(
8
  '/google',
9
  passport.authenticate('google', {
10
+ scope: ['profile', 'email'],
11
+ prompt: 'select_account'
12
  })
13
  );
14