Authentication with bad credentials returns 302 instead of 403 | Community
Skip to main content

Authentication with bad credentials returns 302 instead of 403

  • November 9, 2021
  • 1 reply
  • 0 views

Sergei11

I noticed a strange behavior of Zendesk API: when I send a get request with bad credentials, I'm being redirected to the login page.

I'd expect the API to send me 403 status code and refuse in any further "cooperation".

Nonetheless, for any other requests, the behavior is correct and I normally receive 403.

Do I miss something or it's an issue on the side of Zendesk?

Thanks.

1 reply

Greg29
  • November 10, 2021

Hi Sergei! This is something that I'd like to investigate a bit deeper than we can here in the community. I'm going to open a private ticket with you with some questions and once we get to the root of it, I'll post back here with our findings so that others can see what's going on if they run into this in the future.