System Design · Middle · Question 15 of 75

Which OAuth flow is recommended for SPAs and mobile apps?

Explanation

A public client can't keep a secret. PKCE binds the authorization request and the code exchange with a one-time verifier/challenge pair, protecting against code interception. Implicit and Password Grant are considered deprecated and insecure.

Further reading

Problem with a question

System Design · Middle · question 15

Test yourself

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

Take this quiz