# How do I create a test app with the addon callback URL set to localhost?

**URL:** <https://community.servicem8.com/t/how-do-i-create-a-test-app-with-the-addon-callback-url-set-to-localhost/412>\
**Category:** API & SDK\
**Created:** [April 9, 2024, 3:01pm UTC](https://community.servicem8.com/t/how-do-i-create-a-test-app-with-the-addon-callback-url-set-to-localhost/412 "2024-04-09T15:01:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![developer](https://avatars.discourse-cdn.com/v4/letter/d/bcef8e/32.png) [@developer](https://community.servicem8.com/u/developer)\
**Post date:** [April 9, 2024, 3:01pm UTC](https://community.servicem8.com/t/how-do-i-create-a-test-app-with-the-addon-callback-url-set-to-localhost/412/1 "2024-04-09T15:01:57Z")

</div>

**Originally posted by Jared**

Hello,

I am trying to create a new integration that uses oauth and the self hosted web service function. This requires the oauth2 callback URL to be set.

However, trying to set it to https://localhost:3000/partners/servicem8/callback does not seem to work (this is only for testing) and it instead returns a 403 error - how can I set it to localhost so that I am able to test my callback?

Thanks.
