← Quiz: JWT and API Security: all 10 questions
Quiz: JWT and API Security · Question 7 of 10
Why should a phone number never be placed in a JWT payload?
Why should a phone number never be placed in a JWT payload?
- A.JWTs cannot store numbers
- B.The payload is only encoded, so anyone holding the token can read it
- C.It makes the signature invalid
- D.Phone numbers break Base64
Answer & explanation
Correct answer: The payload is only encoded, so anyone holding the token can read it
Signing gives integrity, not secrecy.
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 →