Testing signedURL app locally fails with ZCLI

6 댓글

  • Tipene Hughes
    Zendesk Developer Advocacy

    Hey IB kundservice,

    Here's a few links to our documentation around testing your Zendesk apps locally, and specifically around the zcli.apps.config.json file and defining test settings:

    Testing your Zendesk app locally

    Defining test settings

    ZCLI Apps repository docs

    I hope this helps! Feel free to reach out with any questions.

    Tipene

    0
  • Simon Blum

    Hi, I'm having the same issue. The documentation provided doesn't give any advice on how to fix it. I have a zcli.apps.config.json file with an app_id in it, i'm still having this issue. 

     

    Thanks very much

    0
  • Marios Ant

    I am also having the same issue. Any luck fixing this @IB kundservice, @Simon Blum ?

    0
  • Simon Blum

    Marios Ant our issue was we wrote a middleware to intercept the url, parsing & validating it, and then passing it on to our main app. We weren't passing the app_guid & token. passing on these parameters fixed the issue  

    1
  • Marios Ant

    Gotcha. Thank you so much, Simon Blum!

    0
  • Eugene Shnyrkevich

    Hello @Tipene Hughes I also have a problem with testing Zendesk SSR application on localhost with enabled `signedUrls` flag in application manifest file. The documentation doesn't contain nor article nor example of testing SSR application with enabled `SignedUrls` property on local

    Testing comments
    When `signedUrls` flag enabled, zcli apps:server stop working correctly.
    Current:
    Zendesk make request to:
    GET: https://{domain}.zendesk.com/apps/installations/{guid}/iframe_redirect
    And return: 400 status with message Invalid parameter: id must be an integer

    Expected:
    Zendesk should detect ?zcli=true query param and should make POST request with token to local zcli server

    0

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

Zendesk 제공