Skip to main content
Best answer

OAuth2 access_token


Forum|alt.badge.img
  • Beginner
  • 1 reply

Hello,

I have a weird behaviour when I configure OAuth2 authentication to communicate with my app.

Everything seems properly configured, but when I test the flow I get an error from my endpoint which says that I must be authenticated with OAuth2.

The weird thing is that if I take the generated access_token from Zapier’s logs and I make the same call with postman I have no errors. However, when I replicate the behaviour in Zapier, with the dynamic access_token ({{bundle.authData.access_token}}), it doesn’t work.

Any idea of why?

Thanks!

Best answer by fraBest answer by fra

Found the issue! I needed to force the creation of another test account.

Thanks

View original
Did this topic help you find an answer to your question?
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

Forum|alt.badge.img
  • Author
  • Beginner
  • 1 reply
  • Answer
  • August 21, 2020

Found the issue! I needed to force the creation of another test account.

Thanks


Liz_Roberts
Forum|alt.badge.img+8
  • Zapier Staff
  • 1366 replies
  • August 21, 2020

Glad you cracked this one and thanks for sharing the solution, @fra !

If we can be of any assistance in the future, just let us know!