최근 검색


최근 검색 없음

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


댓글을 남기려면 로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물