I skimmed over the previous articles in this blog and they don't seem to mention the one use case JWTs were made for: having a separate authentication server from the application server. Most developers will only need this for integrating into corporations with single sign in or social logins (sign in with Facebook/google/apple...). There you won't write the authentication server but integrate with them. Session Ids are dead simple to get right securely. Just use them.
time4tea•2h ago
Maybe missed something.
a_random_name•2h ago
time4tea•2h ago
Private key redis key
a_random_name•2h ago
nijave•2h ago
Would have been good if the article example showed a Redis server with TLS and password auth.
time4tea•2h ago
flumpcakes•51m ago
JackSlateur•47m ago
You never have the private key, only the ability to ask something to encrypt/sign something