Skip to main content

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?

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


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! :)