How to manage Memberstack JWT token validation and expiration in a React-backend setup? Answered
Hello guys I started using memberstack I am getting the JWT token from my react application and I need to use this Jwt token in my backend my backend is validating this token I would like to know if you know where I can find more information about this scenario? I tried in different ways, but I am getting some errors and I cannot find the solution thank you
Comments
3 comments
Hello Ricardo ๐๐ผ
Happy Monday! Hopefully your weekend went well ๐
Hereโs our article on verifying JWTs on the back-end: https://docs.memberstack.com/hc/en-us/articles/7253255689755-Using-Permissions-and-Token-Verification-to-Secure-Your-Site
What errors are you hitting? Can you share a loom.com video
hi guys i still beginner in developing app using webflow, memberstack, and make.com (I'm solo builder btw)
someone ever told me to make backend secure is using token and i saw memberstack already implement token on localstorage.
so the question is how long the expire time of memberstack token?
how to handle if the token was expired?
thank you
In the server you will return a 401 or 403 status code if the token has expired.
The days of the expiring session are handled in the Memberstack Dashboard
Please sign in to leave a comment.