node-restful-api-tutorial icon indicating copy to clipboard operation
node-restful-api-tutorial copied to clipboard

how do i access req.userData in controller

Open kennyendowed opened this issue 3 years ago • 0 comments

pls I have a challenge after setting up jwt and auth route I am trying to get user details without having to get it from d front end or having to decode the token all d time on all request . am trying to get user details from req.userData in any contoller

kennyendowed avatar Dec 22 '21 00:12 kennyendowed