Creating a Custom OAuth App
If you do not have access to the user name and password or do not wish to require them, you can use OAuth authentication. Zendesk uses the OAuth authentication standard, which requires the authenticating user to interact with Zendesk via the browser. The driver facilitates the OAuth exchange in various ways, as described in this section.
Create a Connected App
Follow the procedure below to register a third-party application and obtain the OAuth client credentials, the OAuthClientId and OAuthClientSecret. Note that this procedure requires admin access to your Zendesk account.
- In the Zendesk Support Admin interface, go to Admin > Channels > API.
- Click the OAuth Clients tab on the Channels/API page and then click the plus icon (+) on the right side of the client list.
-
Complete the required fields to create a client.
Set the Redirect URI to http://localhost:33333 or a different port number of your choice. When you connect you will need to set the CallbackURL connection property to this exact URL.
If you are making a desktop application, set the Redirect URI to http://localhost:33333 or a different port number of your choice.
If you are making a Web application, set the Redirect URI to a page on your Web app you would like the user to be returned to after they have authorized your application.
- Click Save. After the page refreshes, a new prepopulated Secret field appears on the lower side.
- Use the unique identifier as the OAuthClientId and the secret value as the OAuthClientSecret.