最近搜索
没有最近搜索

Samer Kokeh
已加入2022年4月07日
·
最后活动2022年5月04日
关注
0
关注者
0
活动总数
27
投票
2
订阅
7
活动概览
标记
文章
帖子
社区评论
文章评论
活动概览
的最新活动 Samer Kokeh
Samer Kokeh 进行了评论,
FYI, i used in manifest.json
And in my main.js

查看评论 · 已于 2022年5月04日 发布 · Samer Kokeh
0
关注者
0
投票
0
评论
Samer Kokeh 进行了评论,
Thank you for your post, I hope you keep following my post.
However, When i read your document here I think there is some mistake in your code if you check it.
const client = ZAFClient.init()
const settings = {
url: 'https://www.example.com/api/user',
headers: {authorization": "OAuth {{setting.access_token}}"},
secure: true,
type: 'GET',
dataType: 'json',
contentType: 'application/json'
}
You can see headers parameters, it's not correct, I think Authorization it should be capital letter.
Can you tell me exactly please, what are the parameters i should use in my manifest?
and how to use my call in my main.js?
查看评论 · 已于 2022年5月04日 编辑 · Samer Kokeh
0
关注者
0
投票
0
评论
Samer Kokeh 进行了评论,
Thank you Taylor, I've solved the problem.
Mainly to test your OAuth settings, you have to install the app. because OAuth settings can't be test during the design.
BTW, I used following parameters, it didn't work with me with type: oauth.
查看评论 · 已于 2022年5月04日 发布 · Samer Kokeh
0
关注者
0
投票
0
评论
Samer Kokeh 创建了一个帖子,
Hi,
I was following this resource https://developer.zendesk.com/documentation/apps/app-developer-guide/using-the-apps-framework/
at the section "OAuth client redirect URL"
it's not really clear to me, do you mean to set this url https://zis.zendesk.com/api/services/zis/connections/oauth/callback
on the 3rd party app setting or in zendesk app code? please clarify.
Thank you in advance.
已于 2022年4月27日 发布 · Samer Kokeh
0
关注者
2
投票
1
Comment
Samer Kokeh 进行了评论,
Thank you for information Taylor, just I want to make sure if you put the call back url on azure active directory as https://zis.zendesk.com/api/services/zis/connections/oauth/callback
because i always receive 422 error
"Proxy error: {:code=>\"UnprocessableEntity\", :status=>\"422\", :title=>\"Unprocessable Entity\", :message=>\"Failed to get installation and oauth information for app.\"}"
I think i did everything well, it's really strange.
查看评论 · 已于 2022年4月27日 发布 · Samer Kokeh
0
关注者
0
投票
0
评论
Samer Kokeh 进行了评论,
FYI, I tried the same configuration on Postman and it's work very well, the only thing is missed when I compare my postman configurations is Scope, Scope value in postman is
Regards,
Samer
查看评论 · 已于 2022年4月26日 编辑 · Samer Kokeh
0
关注者
0
投票
0
评论