最近搜索
没有最近搜索

Manuel Federl
已加入2022年5月11日
·
最后活动2023年2月10日
关注
0
关注者
0
活动总数
7
投票
1
订阅
3
活动概览
标记
文章
帖子
社区评论
文章评论
活动概览
的最新活动 Manuel Federl
Manuel Federl 进行了评论,
Yes, we are also unsure on how to do the authentication across brands right. We got it working for now on our end, but the comments are still being shown as "User was not logged in when the comment was submitted". Even though we use authentication.
To get it working, we did the following way (which at least works for now). Maybe you have another breakthrough:
- Visitor is on Help Center of Brand B
- If the visitor goes to the the custom contact forms a check is performed if the user is logged in (via the window object HelpCenter.user; If the user is not logged in, his role will be anonymous)
- If the visitor is logged in, display the custom contact forms, which the visitor can select and fill in
- On submit, the following http requests happen:
- GET Brand A.zendesk.com/api/v2/users/me (using the visitors email address from HelpCenter.user.email and API token)
- POST Brand A.zendesk.com/api/v2/requests (using the auhtenticity_token)
When we tried the subdomain Brand B on step 5, we got a 403 error.
In addition, we got the 403 when we did step 5 and 6 with the Brand B subdomain as well (we thought this was the way you're supposed to do it).
查看评论 · 已于 2022年10月07日 发布 · Manuel Federl
0
关注者
0
投票
0
评论
Manuel Federl 进行了评论,
I had this same issue and I had a very lenghty discussion regarding this with the Support team. I solved this issue by making all API requests to the main brand instead of the sub-brand (in my opinion API documentation says otherwise so this behavior is not as expected). Then it will work as it should. I have set up a trigger that fires on ticket creation to set the respective brand for the ticket so that it will be visible for the end user inside of Guide. You can use e.g. the title of the ticket to filter for the right brand if you are setting it programmatically.
查看评论 · 已于 2022年10月04日 发布 · Manuel Federl
0
关注者
0
投票
0
评论
Manuel Federl 进行了评论,
Pan Vivian Your issue seems to be related to the organizations api end point. According to the documentation you need to be an admin to create organizations. If an end user tries this, then they shoudn't have the required permissions to do so.
Tipene Hughes Your approach looks nice. I didn't know about the x-csrf-token header. I think the authenticity_token property should be included in the JSON format of the user documentation.
I tried it but it sadly didn't work for me. I checked in the developer console > network what the request looks like. The basic authentication and x-csrf-token match with the data I'm plugging in but I still get a 403 error.
I'm sending the request through a ReactJS app and Axios in our Help Center.
查看评论 · 已于 2022年6月10日 发布 · Manuel Federl
0
关注者
0
投票
0
评论