Adding OAuth - Part 2: Changing how requests are authenticated Follow

Comments

3 comments

  • Avatar
    Jakki Macfadyen

    I keep trying to work through this tutorial but keep getting stuck at the "To show a button that starts the authorization flow" section. I even tried moving on to section 3 and downloading the code and that's still showing me the "Add a Task Button". Any thoughts as to what I could be doing wrong?

  • Avatar
    Charles Nadeau

    Sorry to hear you're having problems. Can you provide a little more information about the behavior? In a live app, the button that starts the authorization flow only appears after a roundtrip to the Bottle app to check if the token cookie exists. Did you start the Bottle server along with the ZAT server before testing? See the instructions at https://support.zendesk.com/hc/en-us/articles/206028467#test.

  • Avatar
    Jakki Macfadyen

    Thanks. I wasn't clear about when the template for signing into Asana was supposed to appear and had thought maybe I did something wrong. Once I moved onto part 3 and ran the test using Bottle server and ZAT server everything worked without a hitch.

Please sign in to leave a comment.

Powered by Zendesk