# Getting the code (auth)

**URL:** <https://community.hubspot.com/t/getting-the-code-auth/36409>\
**Category:** APIs & Integrations\
**Tags:** oauth\
**Created:** [April 28, 2021, 2:45pm UTC](https://community.hubspot.com/t/getting-the-code-auth/36409 "2021-04-28T14:45:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MGraceffa](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mgraceffa/32/13521_2.png) [@MGraceffa](https://community.hubspot.com/u/MGraceffa)\
**Post date:** [April 28, 2021, 2:45pm UTC](https://community.hubspot.com/t/getting-the-code-auth/36409/1 "2021-04-28T14:45:48Z")

</div>

Hi)  
I follow the steps to get the code:

**This is how it should work:**

**1. You send a request with your client id, scopes, redirect uri and so and - you have done this part - check!**

But I get an error - 403  
I have Auth data in my account.  
Could you help me?  
Thanks)

 ![41728iBB162222DD7C53BF.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/e/a/eaeec744ed45c8089061cffe381123a7ee6c19b9.png)

 ![41727iFBB37229691F4D96.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/f/fe1541e9d8e00b145697510af01e7810261c7675.png)

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [April 29, 2021, 1:57pm UTC](https://community.hubspot.com/t/getting-the-code-auth/36409/2 "2021-04-29T13:57:56Z")

</div>

Hey @MGraceffa !

Did you get this sorted?

@RMones , would you be able to lend a hand?

---

<div class="post-metadata">

**Author:** ![RMones](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rmones/32/82797_2.png) [@RMones](https://community.hubspot.com/u/RMones)\
**Post date:** [April 29, 2021, 2:33pm UTC](https://community.hubspot.com/t/getting-the-code-auth/36409/3 "2021-04-29T14:33:41Z")

</div>

Hi @MGraceffa ,

You are doing a POST to that endpoint, but you have to open this URL in your browser (Your Browser will do a GET request). You will be redirected to the Hubspot UI and then after you selected the right envrionment your will be throw back to the callback URL with the right paramters. Refresh Token and Access token etc.

Hope you have luck with this!  
Regards, Ronald

---

<div class="post-metadata">

**Author:** ![MGraceffa](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mgraceffa/32/13521_2.png) [@MGraceffa](https://community.hubspot.com/u/MGraceffa)\
**Post date:** [April 30, 2021, 12:25pm UTC](https://community.hubspot.com/t/getting-the-code-auth/36409/4 "2021-04-30T12:25:24Z")

</div>

Thanks for your hepl)

---

<div class="post-metadata">

**Author:** ![RRiw](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rriw/32/68963_2.png) [@RRiw](https://community.hubspot.com/u/RRiw)\
**Post date:** [October 15, 2021, 7:33am UTC](https://community.hubspot.com/t/getting-the-code-auth/36409/5 "2021-10-15T07:33:47Z")

</div>

Is there any improvement artwork going into adding Custom houses to Products? For example, each product has a SKU code that is a part of the deal that syncs to ERP [link](https://myuniversalremotecodes.com/blackweb-universal-remote-codes/). Is there any paintings going into being capable of upload a custom assets on a Product?
