# Http://localhost is not allowed

**URL:** <https://community.auth0.com/t/http-localhost-is-not-allowed/83688>\
**Category:** Get Help\
**Tags:** auth0\
**Created:** [May 18, 2022, 9:22pm UTC](https://community.auth0.com/t/http-localhost-is-not-allowed/83688 "2022-05-18T21:22:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kewong](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kewong/32/33237_2.png) [@kewong](https://community.auth0.com/u/kewong)\
**Post date:** [May 18, 2022, 9:22pm UTC](https://community.auth0.com/t/http-localhost-is-not-allowed/83688/1 "2022-05-18T21:22:21Z")

</div>

Hi,

I am creating a new autho application with auth0 react sample app. However when I enter “[http://localhost:3000](http://localhost:3000)” in Application Login URI, following error prevents me from saving. How do I disable this validation?

“Error!Payload validation error: ‘Object didn’t pass validation for format absolute-https-uri-or-empty: [http://localhost:3000](http://localhost:3000)’ on property initiate\_login\_uri (Initiate login uri, must be https).”

Thank you

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [May 18, 2022, 9:49pm UTC](https://community.auth0.com/t/http-localhost-is-not-allowed/83688/3 "2022-05-18T21:49:09Z")

</div>

Hey there @kewong!

> [@kewong](#):
>
> I am creating a new autho application with auth0 react sample app. However when I enter “[http://localhost:3000](http://localhost:3000)” in Application Login URI, following error prevents me from saving. How do I disable this validation?

The Application Login URI does indeed require https, but You don’t need to worry about it n order to run the sample app locally - The Application Login URI (initiate\_login\_uri) is related to a [Default Login Route](https://auth0.com/docs/authenticate/login/auth0-universal-login/configure-default-login-routes) which is not necessary in this context. You’ll want to focus on the Allowed Callback URLs, Allowed Logout URLs and Allowed Web Origin URLs as outlined in our [React Quickstart](https://auth0.com/docs/quickstart/spa/react/01-login#configure-callback-urls).

Hope this helps!

---

<div class="post-metadata">

**Author:** ![kewong](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kewong/32/33237_2.png) [@kewong](https://community.auth0.com/u/kewong)\
**Post date:** [May 19, 2022, 2:47pm UTC](https://community.auth0.com/t/http-localhost-is-not-allowed/83688/4 "2022-05-19T14:47:41Z")

</div>

Thank you very much @ty.frith

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [May 26, 2022, 12:03am UTC](https://community.auth0.com/t/http-localhost-is-not-allowed/83688/5 "2022-05-26T00:03:34Z")

</div>

Happy to be of help 😄

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [June 10, 2022, 12:03am UTC](https://community.auth0.com/t/http-localhost-is-not-allowed/83688/6 "2022-06-10T00:03:48Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
