Single-page applications
General information
A Single-page application (SPA) indicates a JavaScript front-end application using an API.
Applied technologies may include Angular
, React
or Vue
.
These apps have to use the Authorization Code with PKCE flow.
Use the Refresh Token flow to request new tokens without user interaction.
Single-page application attributes
Identity Cloud uses the following attributes for single-page applications:
- Protocol type - set to OAuth 2.0/OIDC by Identity Cloud
- Client ID
- Allowed return URIs
- Access token lifetime
- ID token lifetime
- Refresh token lifetime
- Authorization endpoint
- Token endpoint
- Metadata endpoint
- Identity Cloud issuer
- Identity Cloud signer certificate