← Quiz: JWT and API Security: all 10 questions
Quiz: JWT and API Security · Question 1 of 10
What does the signature of a JWT guarantee?
What does the signature of a JWT guarantee?
- A.That nobody can read the payload
- B.That the header and payload weren't changed by someone without the key
- C.That the user is online
- D.That the token never expires
Answer & explanation
Correct answer: That the header and payload weren't changed by someone without the key
The signature gives integrity. The payload is only Base64URL-encoded and readable by anyone.
Can you get the rest right without peeking?
Take the timed Quiz: JWT and API Security quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →