# Application URI localhost issue

**URL:** <https://community.auth0.com/t/application-uri-localhost-issue/103235>\
**Category:** Get Help\
**Tags:** configuration, application\
**Created:** [March 24, 2023, 10:54am UTC](https://community.auth0.com/t/application-uri-localhost-issue/103235 "2023-03-24T10:54:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![arbab](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/arbab/32/45728_2.png) [@arbab](https://community.auth0.com/u/arbab)\
**Post date:** [March 24, 2023, 10:54am UTC](https://community.auth0.com/t/application-uri-localhost-issue/103235/1 "2023-03-24T10:54:06Z")

</div>

Hi team,

I want to use localhost in application URIs but on saving application URIs I am getting this error on http:

Tried: [http://127.0.0.1:3000/login](http://127.0.0.1:3000/login)  
Tried: [http://localhost:3000/login](http://localhost:3000/login)

Error: Error!

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

Please assist.

Best Regards

---

<div class="post-metadata">

**Author:** ![matt.g](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/matt.g/32/35982_2.png) [@matt.g](https://community.auth0.com/u/matt.g)\
**Post date:** [March 28, 2023, 9:26pm UTC](https://community.auth0.com/t/application-uri-localhost-issue/103235/3 "2023-03-28T21:26:45Z")

</div>

Hi @arbab,

Welcome to the Auth0 Community!

Unfortunately the [docs](https://auth0.com/docs/authenticate/login/auth0-universal-login/configure-default-login-routes) on this topic state:

> The `login_url` should point to a route in the application that ends up redirecting to Auth0’s `/authorize` endpoint, e.g. `https://mycompany.org/login` . Note that it requires `https` and it cannot point to `localhost` .

If you can provide more details about your use-case for an application URI I might be able to assist further, also I want to double check and make sure you’re not referring to a [callback URL](https://auth0.com/docs/authenticate/login/redirect-users-after-login) which _does_ allow the use of localhost.

I hope this helps!

Thanks,  
Matt

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [April 11, 2023, 9:27pm UTC](https://community.auth0.com/t/application-uri-localhost-issue/103235/4 "2023-04-11T21:27:09Z")

</div>

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