3 ms·
You can store data in the server-side session the user is never intended to see. If you want to store that in a JWT, you're going to have to encrypt it, not jus
by ceejayoz 7y ago
You can store data in the server-side session the user is never intended to see. If you want to store that in a JWT, you're going to have to encrypt it, not just sign, and even that may clue them in that something's going on - if you perform some potentially spammy act on a site and suddenly the JWT gets updated with a big encrypted block, you probably know you tripped some flag.