Web Security · Middle · Question 42 of 75

What is the alg: none attack on JWTs?

Explanation

Always pin the allowed algorithms on the server instead of trusting the alg from the token header.

Further reading

Problem with a question

Web Security · Middle · question 42

Test yourself

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

Take this quiz