> ## Documentation Index
> Fetch the complete documentation index at: https://developers.pleo.io/llms.txt
> Use this file to discover all available pages before exploring further.

# OAuth 2.0 Client Configuration

> Configuring your application to work with Pleo authorization server

<Warning>
  **This page has now been ARCHIVED. Please visit:**

  * **[OAuth 2.0 Setup Workflow Guide](/docs/current/guides/oauth-workflow-guide)**
</Warning>

After registering the OAuth 2.0 client, configure it using the information provided below.

| Parameter              | Value                                                                                 |
| :--------------------- | :------------------------------------------------------------------------------------ |
| Authorization Endpoint | `{AUTHORIZATION_SERVER_URL}/oauth/authorize`                                          |
| Token Endpoint         | `{AUTHORIZATION_SERVER_URL}/oauth/token`                                              |
| Grant Type             | Authorization code grant, with PKCE extension.                                        |
| Client Credentials     | Client identifier and client secret of your client.                                   |
| Client Authentication  | Only `client_secret_basic` client authentication method is supported.                 |
| Redirect URI           | URI of a redirection endpoint used by your client.                                    |
| PKCE                   | Required, if supported by the client. Only `S256` code challenge method is supported. |

Exact mapping between these parameters and the configuration options provided by OAuth 2.0 client implementation, depend on the choice of the the software. Consult the documentation provided by your chosen implementation of OAuth 2.0 client.

## Authorisation Server URL

When configuring authorisation and token endpoints, substitute `{AUTHORIZATION_SERVER_URL}` with the base URL of the authorisation server in the environment that you’re developing for.

| Environment | Authorization Server URL       |
| :---------- | :----------------------------- |
| Staging     | `https://auth.staging.pleo.io` |
| Production  | `https://auth.pleo.io`         |
