Web Widget Integration on SPA (Single Page Application)

답변함

4 댓글

  • Ramin Shokrizadeh
    댓글 작업 고유 링크

    Hi Derek,

    Thanks for sharing your feedback. Have you tried using the updatepath API already?

    https://developer.zendesk.com/embeddables/docs/widget/chat#updatepath

    This is used in SPA to send visitor movements to the widget/agent and that should re-trigger the authentication. If that isn't the case for you, please email chat@zendesk.com with the page URLs that you are authenticated with sample credentials and we can investigate it further for you.

    -Ramin

     

    0
  • Derek
    댓글 작업 고유 링크

    Thanks Ramin for the reply! I have tried your advice but it is not working.

    When I trigger:

    zE('webWidget', 'updatePath')

    I didn't see it calling my JWT endpoint. Seems this command will not retrigger the authentication?

    0
  • vshivananjappa
    댓글 작업 고유 링크

    Hi Ramin,

                     Even we are looking for a hook which can trigger a callback for route changes in SPA. I tried the above trigger but unfortunately it did not work for me as well

    0
  • Ramin Shokrizadeh
    댓글 작업 고유 링크

    Please create a ticket by emailing chat@zendesk.com and we can troubleshoot your issue further from there. Thanks

    0

댓글을 남기려면 로그인하세요.

Zendesk 제공