Re:OAuth 2.0 Security Best Current Practice
by krooj on Tuesday May 05, 2020 @04:43PM
(#23084818)
With PKCE you can use the authorzation_code grant flow. The whole issue with SPAs and the authorization_code grant flow isn't the presence or absence of middleware; rather, it's the lack of a confidential client. PKCE gets around the requirement for a client to securely store it's secret.
[ Parent
| on HN ]
Right, but even after the authorization code flow, the access token is stored somewhere on the client.
My understanding is that that is suboptimal because the browser has such a large surface area to secure.