Add a single-page application (SPA)
Integrate application for user login and access control.
In your workspace, select Applications > Clients > Create client.
Provide a name for your application, select the Single Page type, and click Create.
Configure the redirect URI for your application.
The redirect URI defines where to send users after they complete authentication and consent.
To learn more, see Redirect URI.
Copy or download the client application configuration (client ID most importantly) and add it to your application code. Use any OAuth library you want!
Access your application and try the sign in.