Hacker News new | ask | show | jobs
by idubrov 2969 days ago
I wonder if the same recommendation (use Authorization Code Grant flow plus PKCE instead of Implicit Grant) should be made for SPA (single page applications), too.
1 comments

Unfortunately, most SPA apps don't have a server side backed and thus cannot benefit from the additional security that the Authorization Code flow provides.
They are in the same category as mobile apps in that respect, no? Both of them are "public clients" in terms of OAuth 2.0.