Single Page Application Authentication
If your application is a single-page web application without a backend service, it is recommended to use the OAuth or OIDC implicit grant flow for authentication integration with IDaaS.
This document uses the OAuth protocol's implicit grant flow as an example for explanation.
# Preparation
The enterprise administrator logs into the IDaaS Enterprise Center, goes to Resources > Applications > Add Self-built Application.

Enter the application details, select the authentication integration protocol OAuth.

Authentication configuration: enable the implicit grant flow, and fill in the application callback address (used to receive the access_token).

Obtain the application's ClientId and ClientSecret.

# Development Integration
After the enterprise administrator completes the preparation work on the IDaaS platform, please refer to the OAuth Protocol section on the implicit grant flow to complete the subsequent development integration.
