NEWPractise supported commands in browser simulations, alongside the lesson.Try a browser practice exercise.Try a lab♥ Codelivly is 100% free, no paywall. If it helped you, chip in to keep it running.100% free. Help keep it so.Support us
Preview · 35 min
The checks a correct API makes on every token, the response each failure should get, and how a tester gathers evidence without forging anything.
Owen Adeyemi's design document has one sentence that carries most of the weight of token security: every API request is verified, version 1 and version 2 alike. The sentence lists the checks. Your job on Thursday morning is to find out whether the evidence supports it, without building a single token of your own.
That limit shapes the method. A signed token is only as trustworthy as the server that checks it, so the interesting questions are all about the server: which checks it runs, in which order, and what it answers when one fails. You answer them from three sources that the brief allows: the decoded claims of tokens the test accounts were issued, plain requests with those tokens, and the client's own negative test results.
Create a free account to unlock the rest of this task, complete tasks, and earn Rep.
Sign in