Client-side app, api request authorization

已回答


已于 2022年5月20日 发布

I am currently developing client-side (homepage is hosted inside app package) app. 
I need to do some requests to our own hosted API, question is how on this api side I can authorize those requests, as ones coming from legit zendesk users, and locate requester's userId and clientId, so personalized response can be provided?


0

1

1 条评论

      Hi Vladyslav! Regarding the first portion of your question, this article (specifically step 2) will show you how you can send these requests to your APIs in a secure fashion. With respect to the second part, in a ZAF app, the only people that can use an app will be agents within the Zendesk instance, so you can be sure that they are legit Zendesk users. To get their user information, this will depend on the location of the app, however these docs will show you the method to use based on the location, as well as all of the available properties.

      Let us know if you have any other questions!

      1


      登录以发表评论。

      找不到所需的内容?

      新建帖子