Add login to an SPA
Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.
Single-page apps (SPAs) by design run with the source code exposed in the browser, which means that they cannot maintain any secrets. These kinds of applications are called public clients.
Based on the OAuth 2.0 best practices for browser-based apps, WSO2 Identity Platform recommends securing your SPAs using the OpenID Connect Authorization Code Flow for public clients with the PKCE (Proof Key for Code Exchange) extension.
See the guides given below to add login to your SPAs with WSO2 Identity Platform.
Try out samples
Use an SDK to add login to your SPA
Manually add login to your SPA
Was this page helpful?