Recherches récentes


Pas de recherche récente

OAuth, problem with authorization page



Publication le 18 sept. 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 commentaire

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


Vous devez vous connecter pour laisser un commentaire.

Vous ne trouvez pas ce que vous cherchez ?

Nouvelle publication