My sister recently purchased a print off of Etsy for her kitchen. I thought it had a lot of character and the saying was just perfect – I wanted one for myself. 276 more words
Tags » Sign
I am using jsonwebtoken to handle the token generation and verification on the server side.
The way I did it is once user auth successfully, I sign the ‘user’ object directly to generate the token like this: 259 more words