# How to allow default Heroku domain for OAuth1?

**URL:** <http://forum.companieshouse.gov.uk/t/how-to-allow-default-heroku-domain-for-oauth1/5540>\
**Category:** API Question\
**Created:** [September 29, 2022, 2:38pm UTC](http://forum.companieshouse.gov.uk/t/how-to-allow-default-heroku-domain-for-oauth1/5540 "2022-09-29T14:38:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dyna-soar](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/d/4da419/32.png) [@dyna-soar](http://forum.companieshouse.gov.uk/u/dyna-soar)\
**Post date:** [September 29, 2022, 2:38pm UTC](http://forum.companieshouse.gov.uk/t/how-to-allow-default-heroku-domain-for-oauth1/5540/1 "2022-09-29T14:38:14Z")

</div>

Hello, I am trying to fetch data from the api.  
I made a small app that I deployed to heroku.

Unfortunately, the CH API is returning me 403 status code (forbidden response).  
I have tried to set the domain in the javascript domain: https://{myappname}.herokuapp.com

And it seems the API is not mapping it to my server.

Is there a specific default domain for Heroku I should set, for the API to work?  
I am using the default domain name from heroku: https://{myappname}.herokuapp.com.

Thank you
