Chao Lam

Working on the next small things …

Integrating your app with Zapier using OAuth2

leave a comment »

If you’re trying to add your own trigger or action for Zapier, and your end point is only accessible via a valid OAuth2 token, be sure to add the Bearer token in the API end point headers!

Here’s what I tripped me for a couple of hours:

I had some API end point. I even tested it as a “test” end point when setting up OAuth v2 authentication and everything worked. But the end point kept returning a 401 Unauthorized code.

I finally figured out I had to manually add the OAuth2 access token http header for each endpoint url:

Written by Pseudonymous

July 22, 2019 at 9:39 pm

Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: