OAuth Auth Flow 405 Redirect Error

In case you may be familiar with the stack: this is setup in django's rest oauth toolkit. If not, that's ok too, just dropping that bit in case it's useful to anyone else.
This leads to the issue I'm having. After the authorize screen (our own):
I get the following error from https://zis.zendesk.com/api/services/zis/connections/oauth/callback?code={thecode}&state={statestuff}:
This is where I'm quite stuck. I had thought that with it returning the code, aka the auth token, that I'd be in the green. Perhaps I'm missing something obvious. Please let me know.
-
Bump. I was told coming here was a way to better get in contact with Zendesk's Engineering team by support.
-
Hey Joseph,
Would you be able to provide the relevant code snippets (omitting any identifying info)? This will help us to be able to debug the issue much more effectively.
Thanks!
-
Sure.
This is a section of the manifest.json:
"oauth": {"client_id": "---","client_secret": "---","authorize_uri": "https://someurl.com/o/authorize","access_token_uri": "https://someurl.com/o/token","scope": "read write"},"parameters":[{"name":"token","type":"oauth"}],This is the call that is made to our services:
exportconstzafApi = {getOrder: (id: number): Promise<Order> => {constsettings = {url:`${baseURL}order/${id}`,headers: {"Authorization":"Bearer {{setting.token}}",},secure:true,type:"GET",dataType:"json",contentType:"application/json",}return zafClient.request(settings)},}The ZAFClient is imported within the index.html file via a:Please let me know if that helps or if there is anything else I can provide. Thank you for your help. -
Bump.
댓글을 남기려면 로그인하세요.
4 댓글