Recent searches


No recent searches

OAuth, problem with authorization page



Posted Sep 18, 2023

I am trying to use OAuth 2 to authenticate my app.

First I registered my application in the Admin Centre under Apps and integrations - OAuth Clients

There I have the following data:
Unique Identifier = mytestclient.
Redirect URLs = https://mytest.srv.no/zendeskRedirect

Then I try to send the user to the Zendesk authorization page using this URL:

https://mysubdomain.zendesk.com/oauth/authorizations/new?response_type=code&redirect_uri=https://mytest.srv.no/zendeskRedirect&clientid=mytestclient&scope=read+write

But the response code is 400 Bad Request
and the text:
Invalid Authorization Request
No such client

Am I missing something here?


0

3

3 comments

The query parameter should be "client_id" instead of "clientid" which is causing the error.

0


Thank you Nathan, (not sure how I missed that, have been staring at this URL for a long time before I asked....)

0


No problem, I've been there before

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post