最近搜索
没有最近搜索
Retrieving the user ID in authentication using proxy server method
已于 2023年3月20日 发布
Context:
I am building an application which communicates with the backend server. To authenticate the request, I am planning use the secure setting method. Now, while installing the App, we provide the API key. Then client will make a request to the backend using the proxy server. And the proxy server attaches the API Key to the request.
The backend needs an API Key to validate the request and returns with an auth token. This auth token will have the user permissions, so the backend also needs to know the User ID.
Question:
Since my app is installed for every user of the instance, I need to generate the auth token which has restrictions depending on the user-id. So, will the zendesk proxy server attach some userId to the request? If so, is it guaranteed to not change in future? PS: I saw x-zendesk-user-id in the request but didn't find this in any documentation.
0
0 条评论
登录以发表评论。