最近搜索


没有最近搜索

samer's Avatar

samer

已加入2022年4月28日

·

最后活动2022年5月09日

关注

0

关注者

0

活动总数

6

投票

0

订阅

2

活动概览

的最新活动 samer

samer 进行了评论,

社区评论 Developer - Zendesk Apps Framework (ZAF)

FYI, whenever I Open my App Settings. I can see that it's Authenticated 

and when I click on Reauthorise with D365, i don't have any error and after i click Update, the application run again without any trouble for only 1 hour.

Please Advice or open a ticket for support.

Kind Regards,
Samer

查看评论 · 已于 2022年5月09日 发布 · samer

0

关注者

0

投票

0

评论


samer 进行了评论,

社区评论 Developer - Zendesk Apps Framework (ZAF)

Hi Tipene,

Thank you for information, but I still have a problem. Please if you want to open a ticket let it's ok.
FYI, I already request a ticket and still no body answer me.
However, I updated my Code as you mentioned it succeeded and keep working for 1hour or less and after 1 hour, when it's need to refresh the token, it's stop getting the data and an error raised as bellow:

  1. responseText"422", :title=>"Unprocessable Entity", :message=>"Failed to get installation and oauth information for app."}">"Proxy error: {:code=>\"UnprocessableEntity\", :status=>\"422\", :title=>\"Unprocessable Entity\", :message=>\"Failed to get installation and oauth information for app.\"}"
  2. status422

查看评论 · 已于 2022年5月09日 发布 · samer

0

关注者

0

投票

0

评论


samer 进行了评论,

社区评论 Developer - Zendesk Apps Framework (ZAF)

Hi,

I have the same issue, can you share with me the solution please?

is it ok to open a ticket to solve it?

thank you.

查看评论 · 已于 2022年4月29日 编辑 · samer

0

关注者

1

投票

0

评论


samer 创建了一个帖子,

帖子 Developer - Zendesk Apps Framework (ZAF)

Hi,

I am trying to call an external app API.
I found on your documentation two types of setting on manifest.json.

 "parameters": [
        {
          "name": "token",
          "type": "oauth"  or "text"
        }
what is the deference between text and oauth, when you use text? oauth?
 
secondly, when I configure this parameters, is it necessary to input this token, which i may create it on Postman? If i didn't pas this parameter would the application create token by using my settings "Client_id, client_secret etc"?

Last question, according to what i read, I understood about OAuth flow that an Authorization request should be created with Post request and passing ClientID and Client secret... should be post to grant the token, I found on your documentation that you send the request of Get, you are not requesting the token before you get the data, What if that saved token which you pass it in header is expired. please clarify.
Thank you,
Samer 

已于 2022年4月28日 编辑 · samer

0

关注者

5

投票

8

评论