DEV Community

Discussion on: JSON Web Tokens (JWT) vs. SessionID 🔐 ? explained in 2 mins

Collapse
 
anatoliistepaniuk profile image
Anatolii Stepaniuk

You mentioned "JWT requires you to properly store and distribute private / public keys"

Your Auth Server signs JWT with its private key (that needs not to be distributed).
The AuthServer Public Key (for validating the signature) can be retrieved by the URL, no need to distribute/store it.