Express Protected Routes: How to pass JWT from client?
Hi,
I have an express API which is using the
I have an express API which is using the
protectRoute and getUser middlewares in each route. From the client-side, I am using Expo and getting a JWT once successfully logging in, but I'm not sure how I should pass this as a parameter when invoking one of my API endpoints. How can I do this?