OAuth with multiple scopes not working in Zendesk SELL
I am trying to integrate my application with Zendesk sell and in order to create the access token with Oauth code flow, I am trying to set the scopes. But multiple scopes are not working.
For example: a scope with read and write doesnt work
https://{subdomain}.zendesk.com/oauth/authorizations/new?response_type=code&redirect_uri={your_redirect_url}&client_id={your_unique_identifier}&scope=read%20write
If I set only to read or write, it will work
https://{subdomain}.zendesk.com/oauth/authorizations/new?response_type=code&redirect_uri={your_redirect_url}&client_id={your_unique_identifier}&scope=read
-
Geeting this error:
{"errors":[{"error":{"code":"incorrect_path","message":"path was not found","details":"Requested path at '/oauth2/authorize' was not found using the HTTP method 'GET'."},"meta":{"type":"error","links":{"more_info":"https://developers.getbase.com/docs/rest/articles/errors"}}}],"meta":{"type":"errors","http_status":"404 Not Found","logref":"74aa7dd9bfd9f999-IAD","links":{"more_info":"https://developers.getbase.com/docs/rest/articles/errors"}}}
-
I had a similar issue before and I think it was an encoding issue. Try + (e.g. read+write) instead of spaces.
-
yes its working with +. Just found that out. Thanks
-
Thanks for sharing your solution, Ahmed!
Por favor, entrar para comentar.
4 Comentários