Add server-side web application
Add a server-side web application as an OAuth client to securely handle authentication and access tasks on the server rather than in the user’s browser.
These applications use the Authorization Code Flow to authenticate users and manage tokens, keeping sensitive credentials safe from client-side risks. This guide shows you how to configure and add a server-side web application for secure user authentication and API access.
In your workspace, select Applications > Clients > Create client.
Provide a name for your application, select Server-side Web, and click Create.
For your application, configure the Redirect URI.
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 and secret) and add it to your application code.
You can use any OAuth library library for your application.
Try it out:
Go to your application and try to log in.