Using local theme preview (Guide Professional) Follow

Comments

11 comments

  • Avatar
    Diziana

    Awesome! Much awaited feature. Thank you.

  • Avatar
    Dan Ross

    Hi Ryan,

    Are there provisions going to be made for accounts that have disabled password based authentication, as this affects API auth as well. 

     

     

  • Avatar
    Ryan McGrew

    Hey @Dan,

    It appears that there is a workaround with using an API token as a password for customers currently using SSO. I am working with some teams internally to get this documented and published and I can let you know when it's published.

    Thanks!

  • Avatar
    Shammel (Edited )

    How do I get rid of this warning when previewing a theme locally?

    Mixed Content: The page at 'https://backlog.zendesk.com/hc/en-us' was loaded over HTTPS, but requested an insecure stylesheet 'http://localhost:4567/guide/style.css'. This content should also be served over HTTPS.

  • Avatar
    Ryan McGrew

    Hey @Shammel,

    You'll need to make your browser allow unsafe scripts. In Chrome, it's fairly easy and you can take a look at the screenshot here https://cl.ly/2p0Z0D1e3x0Z

    Other browsers should be similar.

  • Avatar
    Shammel

    Thanks, @Ryan.

    But I already did that, which allows the CSS and JS to load. The problem is they are loading over HTTP when the page itself is loading over HTTPS.

  • Avatar
    Dan Ross

    When developing locally, you're serving from the filesystem, by default that will be without HTTPS, as no SSL certificates will exist. 

    This error should be showing when doing local development. 

    When you upload your theme to Zendesk Guide, the resources will be hosted under HTTPS (assuming you have an SSL certificate), and you should no longer get those errors. 

     

  • Avatar
    Shammel

    Ok. Thanks @Dan.

  • Avatar
    Shane Case

    @Ryan Is there any documentation on this for users that are using SSO yet?

  • Avatar
    Augusto Cravo Silva

    @Shane,

    You need to set up an API token and authenticate with that if you are using SSO.

    See more in https://developer.zendesk.com/rest_api/docs/core/introduction#api-token

    Your username is: {email}/token and the password is {token}

     

    Hope this helps :)

  • Avatar
    Ryan McGrew

    We've updated the docs for ZAT here - https://developer.zendesk.com/apps/docs/apps-v2/getting_started#create

Please sign in to leave a comment.

Powered by Zendesk