Node.js · Middle · Question 38 of 75

What does a JWT signature guarantee?

Explanation

The payload is only Base64URL-encoded, so don't put secrets in it. Always verify the signature with a fixed algorithm list and check exp.

Further reading

Problem with a question

Node.js · Middle · question 38

Test yourself

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

Take this quiz