Validating and Decoding the JWT token on backend
Unanswered
Asiatic Lion posted this in #help-forum
Asiatic LionOP
i have a separate backend where im sending my jwt token and its getting validated and then i get the user info from it, i'm wondering if its an issue if im making this request inside the middleware, so i keep calling my backend to validate and decode the token, is this costy or its normal, and where should i do this in my app or its fine to do on the external server,
here is a gist for reference to the middleware: https://gist.github.com/kamel996/7243b90644517bd01b8da00ecf9f6430
here is a gist for reference to the middleware: https://gist.github.com/kamel996/7243b90644517bd01b8da00ecf9f6430
1 Reply
Asiatic LionOP
Any help?