Client-side app, api request authorization
답변함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?
-
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 댓글