OAuth与多个范围不工作在Zendesk销售亚博
我试图将我的应用程序与Zendesk销售集成,为了使用Oauth代码流创建访问令牌,我正在亚博尝试设置范围。但是多个范围不起作用。
例如:具有读和写的作用域不起作用
https://{子域名}.zendes亚博k.com/oauth/authorizations/new ? response_type = code&redirect_uri = {your_redirect_url} client_id = {your_unique_identifier}范围=读% 20写
如果我只设置为读或写,它将工作
https://{子域名}.zendes亚博k.com/oauth/authorizations/new ? response_type = code&redirect_uri = {your_redirect_url} client_id = {your_unique_identifier}范围=阅读
-
得到这个错误:
{"errors":[{"error":{"code":"incorrect_path","message":"path was not found","details":"使用HTTP方法'GET'未找到'/oauth2/authorize'请求的路径"},"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"}}}
-
我以前有过类似的问题,我认为这是一个编码问题。Try +(例如read+write)代替空格。
-
是的,它和+一起工作。我刚发现。谢谢
-
谢谢你分享你的解决方案,艾哈迈德!
请登录留下评论。
4评论