# Application Login URI field payload validation error for https://localhost:5001/authorize

**URL:** <https://community.auth0.com/t/application-login-uri-field-payload-validation-error-for-https-localhost-5001-authorize/66928>\
**Category:** Get Help\
**Tags:** login, auth0\
**Created:** [July 28, 2021, 10:06am UTC](https://community.auth0.com/t/application-login-uri-field-payload-validation-error-for-https-localhost-5001-authorize/66928 "2021-07-28T10:06:26Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [July 29, 2021, 3:27pm UTC](https://community.auth0.com/t/application-login-uri-field-payload-validation-error-for-https-localhost-5001-authorize/66928/3 "2021-07-29T15:27:59Z")

</div>

Hi @hello11,

Welcome to the Auth0 Community!

You are getting this error because of the `localhost` domain.

This is from our docs:

> 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` . `login_url` can include query parameters and a URI fragment.

It looks like some users found this solution helpful:

> [@Application Login URI field payload validation error for https://localhost:3000/authorize](https://community.auth0.com/t/application-login-uri-field-payload-validation-error-for-https-localhost-3000-authorize/31554/20):
>
> I still encountered this issue, but i was able to get around it by replacing localhost with 127.0.0.1, but it still requires you use https. Hope this is helpful

---

_[View the full topic](https://community.auth0.com/t/application-login-uri-field-payload-validation-error-for-https-localhost-5001-authorize/66928)._
