How can I login with OAuth2 for local testing (Zapier CLI)

  • 29 October 2021
  • 2 replies

  • Anonymous
  • 0 replies

I am making a Zapier CLI integration for an app that uses OAuth2 authentication. How can I authenticate to run my tests locally?


In other words, is there a means of running the existing OAuth2 code workflow using configuration in index.js so I can inject it into my test bundle.authData?

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

I ended up having to create my own local OAuth2 credential manager which is what I was hoping to avoid.

Userlevel 7
Badge +11

Hey @Lux!

Thanks so much for sharing how you solved it. I know it wasn’t the route you were hoping to use, but I’m sure it’ll be helpful to other Community users to know, so we appreciate you sharing that solution here! :)