Which is recommended AUTH type by zendesk for APIs? | Community
Skip to main content

Which is recommended AUTH type by zendesk for APIs?

  • December 22, 2021
  • 4 replies
  • 0 views

I know Zendesk supports most auth types for APIs authentication like Basic, API Token, OAUHT with different flows but I'm not sure which out of these is recommended auth types by the Zendesks team. 

Background for the question - I'm one of the software developers from a software-based MNC  and we are working on one of our client's app requirements which is to build a connector kinda app around Zendesk  API. I just want to confirm

  • if there is any future plan to deprecate one of the auth types in the near future? apparently, we would not like to use any auth type which might get deprecated in near future.
  • Is there is any auth type that you would recommend over others for whatever reason?

Thanks in advance

 

4 replies

Eric27
  • December 22, 2021
Hey Ashish,

1. We're not planning on deprecating any of our auth methods anytime in the foreseeable future. 
 
2. It's all dependent on the requirements of your app. If this connector is going to be a backend service that's just handling passing info from one system to another. Then an API token that you rotate on a schedule and is secured via a secret management system should be suitable. If users will be working in the connector system often and you need individual user logs for what they're doing in said system, then I'd suggest oAuth.

Hope this helps!

  • Author
  • December 22, 2021

Hey thanks Eric, for the quick reply. It is certainly helpful.


  • Author
  • January 14, 2022

@eric27, I understand why you suggested oAuth in multiple users-based systems and that also makes sense. Which flavor of oAuth do you suggest, code_grant_flow or implist_flow?


Greg29
  • January 18, 2022
Hi Ashish! Generally speak, auth code grant flow is the most secure. I would take a look at this article to see if that helps guide the decision for you as well, as there may be things specific to your use-case that would make it better to go in one direction or the other!