# Custom code action oauth for third party tool

**URL:** <https://community.hubspot.com/t/custom-code-action-oauth-for-third-party-tool/70760>\
**Category:** APIs & Integrations\
**Created:** [December 7, 2022, 5:14pm UTC](https://community.hubspot.com/t/custom-code-action-oauth-for-third-party-tool/70760 "2022-12-07T17:14:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AA7](https://avatars.discourse-cdn.com/v4/letter/a/e56c9b/32.png) [@AA7](https://community.hubspot.com/u/AA7)\
**Post date:** [December 7, 2022, 5:14pm UTC](https://community.hubspot.com/t/custom-code-action-oauth-for-third-party-tool/70760/1 "2022-12-07T17:14:03Z")

</div>

Hi everyone!

I’m trying to make an API Call for quickbooks inside a deal based workflow (customized action, not using the current integration), but Quickbooks requires oauth2 in order to get a token from them.

Currently the secrets have limits of characters and my client secret is too big, also what’s the callback URL i should use. Has anyone tried this before inside a workflow?, i would really apreciate some guidance.

ps. Our account is professional, so no serverless functions or Github integration…

Thanks!

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [December 8, 2022, 8:47pm UTC](https://community.hubspot.com/t/custom-code-action-oauth-for-third-party-tool/70760/2 "2022-12-08T20:47:03Z")

</div>

Hi, @AA7 👋 Thanks for reaching out! Let’s see if we can get the conversation going — hey @Teun [@Mike\_Eastwood](https://community.hubspot.com/t5/user/viewprofilepage/user-id/9259), do you have any experience here?

Thank you very much! — Jaycee
