1. User authentication

Create an OAuth client

Sitecore Content Hub uses the OAuth 2.0 authentication framework to facilitate connections with external applications. You can create OAuth clients and use them with the Web SDK.

Note

We recommend using a separate OAuth client for each external application. This allows you to revoke a client's access without affecting the functionality of other external applications connected to your Content Hub instance.

To create an OAuth client:

  1. On the menu bar, click Manage .

  2. On the Manage page, click OAuth clients.

  3. On the OAuth clients page, click + OAuth Client.

  4. In the OAuth client dialog, fill in the following fields.

    FieldDescription
    NameName of the OAuth client.
    Client IDThe public identifier used to build login URLs.
    Client SecretThe confidential secret associated with the ID.
    Redirect UrlURL that users are redirected to after authenticating. This URL must be protected with TLS security to ensure tokens are not exposed during authentication.
    Redirect URLsOne or more URLs that users are redirected to after authenticating. Each URL must be protected with TLS security to ensure tokens are not exposed during authentication.
    Client TypeType of the OAuth client.
    UsersThe user to associate with the OAuth client. Applies only to the client credentials grant, for which the generated access token inherits all permissions of this user.
  5. To create another OAuth client, select the Create another check box.

  6. Click Save. If you selected the Create another check box, the OAuth Client dialog displays where you can create another client. If you are not creating another item, the OAuth clients page opens.

    Note

    When you create another item, some of the fields are prefilled with values you already defined.

If you have suggestions for improving this article, let us know!