API Testing · Middle · Question 30 of 75

Which JWT checks should an API tester try?

Show the answer

Correct answer: Tampered payload, wrong signature, expired exp, alg: none

Explanation

A JWT payload is only Base64-encoded. The server must verify the signature and claims; tampered tokens must give 401.

Further reading

Problem with a question

API Testing · Middle · question 30

Test yourself

Take the API Testing · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz