Web Security · Middle · Question 51 of 75

What is the state parameter in OAuth for?

Explanation

The client generates a random state, stores it, and checks it when the user comes back. PKCE also covers this, but state is still widely used.

Further reading

Problem with a question

Web Security · Middle · question 51

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