#help with passport (discord)
4 messages · Page 1 of 1 (latest)
4 messages · Page 1 of 1 (latest)
for some reason, i cant get the data from req.user, even if i can see it on the website
front end:
///
});```
back end:
```router.get('/', async (req: /*Express.*/Request, res: Response) => {
console.log(req.user) // undefined
})```
i can get the data on the callback
but not on the request
if you just print the request, what do you get?