Skip to main content

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.

  1. In your workspace, select Applications > Clients > Create client.

  2. Provide a name for your application, select Server-side Web, and click Create.

    Create application
  3. 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.

    Redirect URI setup
  4. 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.

    Copy credentials

    Try it out:

  5. Go to your application and try to log in.

Next Steps