Zendesk supports two types of authentication for its API— Basic and OAuth. Select the authentication that meets your security requirements.
Best practice
For the integration with Oomnitza, create a dedicated user account.
Basic authentication
If you choose Basic Authentication, you are required to do the following in Zendesk:
- Log in to your Zendesk account.
- Go to Admin Center>Apps and integrations>Zendesk API
- In the Settings tab, click Add API token. Make sure to copy and store your API token.
See Zendesk: Generating a new API token
Adding the Basic authentication credentials to Oomnitza
When you add your Basic authentication credentials to Oomnitza, your Username consists of your Zendesk email followed by a forward slash (/) and the word token:
username@address.com/token
Your Password is your API Key.
To add the credentials to Oomnitza, complete the following steps:
- Click Configuration>Security>Credentials.
- Click Add new credential (+).
- Search for the integration, and then click the forward button > to select the integration.
- Enter the user name and password of your account
- Click Create.
Integration not in the list? Click Advanced Mode and complete these steps:
- Add the information details.
- Click the AUTHORIZATION tab.
- Ensure that Basic Auth is selected as the authorization type.
- Enter the username and password.
- Click Create.
OAuth Authentication
Zendesk OAuth
To set up Zendesk OAuth in Oomnitza, you will need the following :
Your Client ID
The Secret for your client ID.
- Log in to your Zendesk account.
- Go to Admin Center>Apps and integrations>APIs>Zendesk API>OAuth Clients.
- Click Add OAuth client.
- Enter the client details and supply the following redirect URL:
https://generic-oauth2-proxy.oomnitza.com/oauth2/redirect_url - Set the Client Kind to Confidential.
- Copy and store your client ID and client secret.
For further information, refer to Zendesk: Creating an OAuth client.
Scope
For information on scopes refer to Zendesk: Scope. Some commonly used scopes include:
- "users : read" - for loading the list of users
- "read" - for SaaS user role integration
- "read write" - for the various API presets
Zendesk Subdomain
If your Zendesk URL is https://mycompany.zendesk.comyour subdomain is mycompany.
Adding the OAuth credentials to Oomnitza
To use OAuth authentication in Oomnitza, complete the following steps:
Make life easier and add your credentials to Oomnitza before you create the integration.
- In Oomnitza, click Configuration > Security > Credentials.
- Click Add new credential (+).
- Search for the integration, and then click the forward arrow > to select the integration.
- Enter your client credentials and any other additional information.
- Click Authenticate. You are prompted to log in to authorize your request.
- Click CREATE.
- Add the information details.
- Click the AUTHORIZATION tab.
- Ensure that OAuth 2.0 is selected as the Authorization type.
- Ensure that Zendesk is selected from the SaaS list.
- Enter your Zendesk subdomain.
- Enter the Client ID generated during OAuth2 setup.
- Enter the Client Secret generated during OAuth2 setup.
- Enter the Scope of your integration.
- Click Authenticate. You are prompted to log in to authorize your request.
- Click CREATE.
Use the credentials that you added to create an extended integration for Zendesk users. See Creating an extended integration for Zendesk users.
Comments
0 comments
Please sign in to leave a comment.