Update src/routes/authRoutes.js
Browse files- 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 |
|