Good day. Please I have a security issue. I do not like the idea of saving jwt token in Local Storage and saving signed cookies on server will affect the server — if I am wrong, please tell me. So I came up with the idea of saving the token in the database with ip address as the primary key. Cache all token on server startup. Then create a middleware that gets the token from cache and set it has header.Please how secure is this process? And Better technique is welcome
Submitted March 03, 2019 at 10:17PM by freshcalf
No comments:
Post a Comment