We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e5c759 commit f03e04dCopy full SHA for f03e04d
1 file changed
server/routes/authRoutes.js
@@ -9,4 +9,8 @@ module.exports = app => {
9
);
10
11
app.get('/auth/google/callback', passport.authenticate('google'));
12
+
13
+ app.get('/api/current_user', (req, res) => {
14
+ res.send(req.user);
15
+ });
16
};
0 commit comments