Skip to main content
Best answer

Setting Up Authentication for Help Scout's Mailbox API 2.0

  • January 12, 2021
  • 1 reply
  • 322 views

Forum|alt.badge.img

Hey, there!

 

I am new to Zapier’s Developer platform and I’m not a developer myself. I have limited experience using API’s and only some basic/foundational knowledge surrounding APIs.

Nonetheless, I’m looking to create a custom integration within Zapier for the purposes of getting some specific data not currently offered by the public Help Scout Zapier integration.

I am at the stage of setting up OAuth v2 authentication.

To best of my ability I have followed the Help Scout’s documentation for setting up authentication.

Unfortunately I am getting the following error:

Cannot change state from 1610418296.483357210070 to {my_app_secret_here} - please remove it from authentication.oauth2Config.authorizeUrl”

 

For Step 2, I successfully added the OAuth Redirect URL over in Help Scout!

For Step 3, I have successfully copied over the Help Scout App ID and App Secret to Zapier’s Client ID and Client Secret fields!

For Step 4, I have added the Authorization URL with my App ID and secret:

https://secure.helpscout.net/authentication/authorizeClientApplication?client_id={application_id}&state={your_secret}

But it is in this step I uncertain of what might require adjustments based on Help Scout’s documentation

Help Scout suggests that all authentication requests must be,

“authenticated via the Authorization header, “ and I am uncertain of what this means.

Am I meant to be adjusting the HTTP Headers in the Authorization URL step?

 

If anyone is able to help out a total beginner and point me in the right direction, I’d super appreciate it!

Best answer by JakeatGrantMeBest answer by JakeatGrantMe

Update:

Got a tip from a cool cat that lead me to realize I was adding redundant data.
Zapier previously asked me for the API credentials and I was trying to write overtop that with a hardcoded ID and Secret. I inserted the variable that Zapier uses for these values and it worked!

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.

1 reply

Forum|alt.badge.img
  • Author
  • Builder
  • 28 replies
  • Answer
  • January 12, 2021

Update:

Got a tip from a cool cat that lead me to realize I was adding redundant data.
Zapier previously asked me for the API credentials and I was trying to write overtop that with a hardcoded ID and Secret. I inserted the variable that Zapier uses for these values and it worked!