Verify a token before you trust it
Five requests reach the reports API together, each carrying a bearer token. The four checks from the video are all here, but nothing fixes the order they run in. That part is yours.
Open the Verification gate builder and place all four checks, in whatever order you like. Run the five requests, then clear the gate, build a different order, and run them again. Two numbers sit under the results, and only one of them moves.
The same tokens get in whichever order you build, so what does putting the signature check last actually cost you?
This exercise is part of the course
Using AWS Security for Developers
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise