1. Home
  2. Integrations
  3. OAUTH 2 - Client Credentials

OAUTH 2 - Client Credentials

Authorization configuration for integration flows - OAUTH 2 - Client Credentials

To register an authorization of type OAuth 2 Client Credentials, access the Authorizations screen through the left side menu or the corresponding card on the Welcome screen.

NOTE

To understand the differences between Sensedia Integrations authorization types, visit our Glossary.

On the Authorizations screen, click + AUTHORIZATIONS in the upper right corner to create your new registration.

In CREATE AUTHORIZATION, select the OAuth 2 type and click CONFIRM:

To configure the authorization, fill in the following fields:

  • Name: authorization name. Alphanumeric field that allows special characters and empty spaces, with a limit of 1024 characters.

  • Description (optional): authorization description. Alphanumeric field that allows special characters and empty spaces, with a limit of 1024 characters.

  • Grant Type: select the Client Credentials grant.

Next, select the environment you want to configure:

  • Staging
  • Production
TIP

Data registered in the Staging environment will be used when executing Test Mode.

If necessary, you can select and configure both environments. For each environment, fill in the following fields:

  • Token URL: enter the token URL.

  • Client ID: enter the client ID registered with the API provider.

  • Client Secret: enter the client secret registered with the API provider. To view the value, click the eye icon button on the right.

  • Scopes (optional): enter which scope values you want to send in the authorization request. Limit of 250 characters per value. Maximum of 500 values. To delete a specific scope value, click the x on the right side of the tag. To delete all values, click the X on the right side of the field.

  • Client Authentication: presents the following options:

    • Send as Basic Auth header (default): the Auth authentication request will be sent in the request header.

    • Send client credentials in body: the Client Credentials authentication request will be sent in the request body.

To validate the entered data and make a request to the server generating a new token, click CONNECT. If the data is validated successfully, the button will change to CONNECTED. If there are new changes in the entered data, you must click CONNECT again.

To save the authorization settings, click SAVE.

NOTE

The SAVE button saves the settings for the selected environment. If you configure one environment and start configuring another, the button will be locked until all fields of the second environment have been filled in.

To exit without saving your changes, click CANCEL and confirm the action.

How happy are you with this page?

We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more