Facing issue in securing sever-side app

6 댓글

  • Greg Katechis
    Zendesk Developer Advocacy

    Hi Neeraj! Could you share the contents of the iframe.html, or if you're referencing from a .js file, the iframe and .js files? It looks like something in your code is returning an incorrect value or incorrect type and the signed urls portion may just be a red herring.

    0
  • Neeraj Gahlot

    Hi Greg, thank you for your prompt response. I have updated the complete codebase on a Github public repo here. https://github.com/Cerebro92/zendesk-sample-app/tree/main/src

    0
  • Greg Katechis
    Zendesk Developer Advocacy
    Thanks for sharing that...I'm able to reproduce this issue. It looks like we're returning a UUID instead of the installation_id of the app. I'm going to do some testing and I'll get back to you in a bit.
    0
  • Greg Katechis
    Zendesk Developer Advocacy
    Hi Neeraj! I just realized what the issue is here...when testing locally, secure settings won't work. If you package and install the app, this will work.
    0
  • Neeraj Gahlot

    thanks Greg! let me try deploying this application.

    0
  • Neeraj Gahlot

    Greg! I just now deployed the app and it is working correctly now. I see API is called with JWT token in the request payload. thanks again!

    1

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

Zendesk 제공