最近の検索


最近の検索はありません

OAuth, problem with authorization page



投稿日時:2023年9月18日

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件のコメント

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


サインインしてコメントを残してください。

お探しのものが見つかりませんか?

新規投稿