---
title: "Configure a Client"
description: "Step-by-step guide on how to configure a client in the Curity Identity Server"
url: "https://curity.io/resources/learn/configure-client/"
date: "2020-11-09"
area: "tutorials"
topic: "getting-started"
pagegroup: "first-config"
---

# Configure a Client

You can configure different clients with different capabilities in the Curity Identity Server. This tutorial shows how to configure a client suitable for the popular code flow. You can follow the same approach to create clients that enable other flows.

![How To Configure An OAuth Client - YouTube thumbnail](https://i.ytimg.com/vi_webp/bcoSCBhJTZQ/hqdefault.webp)

Be aware of your testing tool

This tutorial will show you how to configure your first client in the Curity Identity Server. Some configuration will depend on the tool you will choose for testing. Whenever this is the case you will be presented with tabs for the different options. Be sure to use the appropriate configuration variation.

## Setup in the Curity Identity Server

From the sidebar menu select **OAuth & OpenID Connect** -> **Clients** to go to the client management view. Click on **\+ New Client**.

### New Client

Give the client an ID, e.g., `www` for a website client.

![New Client](https://curity.io/images/resources/operate/tutorials/standards/code-flow/create-client-01.jpg)

### Capabilities

In the **Summary** table locate the **Capabilities** row and click on the **Edit** button.

Select the **Code Flow** capability and click **Next**.

![Code Flow](https://curity.io/images/resources/operate/tutorials/standards/code-flow/create-client-03.jpg)

### Redirect URI

The redirect URI is an endpoint at the client. If you do not know what you will use, just enter `https://localhost/callback` for now. The value can be changed later if needed. The tabs below outline settings for a couple of different approaches for testing the client configuration.

**OAuth Tools**

Add the callback URI for [OAuth Tools](https://oauth.tools/?utm_source=curity.io&utm_medium=Link&utm_content={props.utmContent}) by selecting **Add for Web** from the **OAuth.tools** drop-down menu.

![Redirect URI](https://curity.io/images/resources/operate/tutorials/setup/client-config/config-callback-oauth-tools.jpg?v=20261026)

If you run OAuth Tools from the app, choose **Add for App** instead.

**OAuth Assistant**

When testing with the OAuth Assistant library use the callback URIs on `http://localhost:8080` as follows:

![Redirect URI](https://curity.io/images/resources/operate/tutorials/setup/client-config/config-callback-oauth-assistant.jpg?v=20261026)

**cURL**

When testing with cURL use `https://localhost/callback` as the redirect URI.

![Redirect URI](https://curity.io/images/resources/operate/tutorials/setup/client-config/config-callback-curl.jpg?v=20261026)

Click **Next** to continue configuring the client's capabilities.

### Client Authentication

**OAuth Tools**

For client authentication select `secret` and enter or generate a secret value. Make sure to remember the value since it cannot be retrieved later, though you can reset it if required.

![Secret](https://curity.io/images/resources/operate/tutorials/standards/generic/config-client-authentication.jpg?v=20261026)

**OAuth Assistant**

For client authentication select `no-authentication`. This will effectively create a public client.

![No Authentication](https://curity.io/images/resources/operate/tutorials/standards/generic/config-client-authentication-no-auth.jpg?v=20261026)

**cURL**

For client authentication select `secret` and enter or generate a secret value. Make sure to remember the value since it cannot be retrieved later, though you can reset it if required.

![Secret](https://curity.io/images/resources/operate/tutorials/standards/generic/config-client-authentication.jpg?v=20261026)

Click **Next** to continue configuring the client.

### User Authentication

For user authentication select the authenticator created in the [authenticator tutorial](https://curity.io/resources/learn/username-password-authenticator/).

![User Authentication](https://curity.io/images/resources/operate/tutorials/standards/generic/config-user-authentication.jpg?v=20261026)

Click **Done** to finish configuring the client's capabilities.

### Add Scope

Next, locate the **Scopes and Claims** section and select a scope, e.g. `openid`, from the list of scopes in the dropdown menu, to add that scope to the client. Alternatively, use the **\+ New** button to add a new scope and automatically add it to the client.

![Add Scope](https://curity.io/images/resources/operate/tutorials/standards/generic/add-openid-scope.jpg)

When the client uses the `openid` scope it can run an OpenID Connect flow and receive an ID token with information about how and when the user authenticated.

### Commit

Make sure to commit the changes. Go to the **Changes** menu and select **Commit**.

## Next Steps

At this point the system should be configured with a working client. The next step would be to test the configuration. There are several ways to test and the approach depends on where the Curity Identity Server is running. Here are a few options that should cover most scenarios.

-   [Test using OAuth Tools](https://curity.io/resources/learn/test-using-oauth-tools/)
-   [Test using OAuth Assistant](https://curity.io/resources/learn/test-using-oauth-assistant/)
-   [Test using cURL](https://curity.io/resources/learn/test-using-curl/)
