The IETF has recommended using Auth Code + PKCE over Implicit flow for several years for SPAs. Could you please recommend reviewing this important document to ensure current practice is employed for new applications.
This is summarised in section 4.
"However, there are several drawbacks to the implicit flow, generally involving vulnerabilities associated with the exposure of the access token in the URL. See Section 9.8 for an analysis of these attacks and the drawbacks of using the implicit flow in browsers. Additional attacks and security considerations can be found in [oauth-security-topics]."
https://tools.ietf.org/html/draft-ietf-oauth-browser-based-apps-05
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@paulspencerwilliams Thank you for the feedback. We are actively investigating and will get back to you soon.
We will be updating this documentation soon with the general availability of Auth Code + PKCE for MSAL.js coming in the next month or so
@paulspencerwilliams We would be closing this thread now. Let us know if you need further help on the same.
Most helpful comment
We will be updating this documentation soon with the general availability of Auth Code + PKCE for MSAL.js coming in the next month or so