Ricerche recenti
Nessuna ricerca recente

Manuel Federl
Data ingresso 11 mag 2022
·
Ultima attività 10 feb 2023
Seguiti
0
Follower
0
Attività totali
7
Voto
1
Abbonamenti
3
PANORAMICA ATTIVITÀ
BADGE
ARTICOLI
POST
COMMENTI NELLA COMMUNITY
COMMENTI AGLI ARTICOLI
PANORAMICA ATTIVITÀ
Ultima attività di Manuel Federl
Manuel Federl ha commentato,
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).
Visualizza commento · Data ultimo post: 07 ott 2022 · Manuel Federl
0
Follower
0
Voti
0
Commenti
Manuel Federl ha commentato,
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.
Visualizza commento · Data ultimo post: 04 ott 2022 · Manuel Federl
0
Follower
0
Voti
0
Commenti
Manuel Federl ha commentato,
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.
Visualizza commento · Data ultimo post: 10 giu 2022 · Manuel Federl
0
Follower
0
Voti
0
Commenti