I have already implemented the /signup and /signin API endpoints and successfully connected them to my database to generate JWT tokens. However, I am struggling with handling the JWT verification flow. Specifically, how do I verify on the React frontend which user is currently signed in using the JWT token, and maintain that auth state across requests?
Originally asked by Esh on Stack Exchange (stackoverflow) (CC BY-SA 4.0).