Add login to an SPA
You're reading Identity & Access Management 7.0.0. The newest release is 7.3.0, and Cloud has the newest features. Go to the newest release
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 Server 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 Server.
Try out samples
Use an SDK to add login to your SPA
Manually add login to your SPA
Was this page helpful?