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.
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:
-
On the menu bar, click Manage .
-
On the Manage page, click OAuth clients.
-
On the OAuth clients page, click + OAuth Client.
-
In the OAuth client dialog, fill in the following fields.
Field Description Name Name of the OAuth client. Client ID The public identifier used to build login URLs. Client Secret The confidential secret associated with the ID. Redirect Url URL that users are redirected to after authenticating. This URL must be protected with TLS security to ensure tokens are not exposed during authentication. Redirect URLs One 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 Type Type of the OAuth client. Users The 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. -
To create another OAuth client, select the Create another check box.
-
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.
NoteWhen you create another item, some of the fields are prefilled with values you already defined.