All challenges
Multiple ChoiceIntermediate 30s

JWT best practices

Choose the best answer for: JWT security
Options
  1. 1Store passwords in the JWT and compare them each call
  2. 2Weak secret: a short guessable key is fine as tokens rotate
  3. 3Short expiry, strong secret, avoid sensitive payload data
  4. 4Long expiry: tokens stay valid for months, no logins

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle