Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ynniv
· 7y ago · 0 comments
You can sign session ids to prevent DoS, and you can cache session ids to avoid database lookups, but you can't detect forged or stolen JWT tokens.
Comments
[–]
nmgsd
7y ago
You can't forge a JWT without stealing the private key of the valid JWT signer.
You can steal a JWT token the same way you can steal a session token.