← Back to the module

Knowledge check

JSON Web Tokens & API authentication

10 questions testing what you just read — no login, no tracking, just immediate feedback.

Question 1 of 10

What does a JWT's signature actually protect?

Question 2 of 10

What makes the "algorithm confusion" attack against JWTs possible?

Question 3 of 10

Compared to an opaque session token, what's a key limitation of JWTs?

Question 4 of 10

How many segments does a JWT have, and how are they separated?

Question 5 of 10

What encoding is used for a JWT's header and payload segments?

Question 6 of 10

What signing algorithms can a JWT use?

Question 7 of 10

What was the "alg: none" JWT vulnerability?

Question 8 of 10

What's a key advantage an opaque session token has over a JWT?

Question 9 of 10

Which JWT claim is responsible for limiting how long a token remains valid?

Question 10 of 10

Why should secrets never be placed in a JWT payload?

0 / 10 answered