# How do I log in on my http://localhost system?

**URL:** <https://community.auth0.com/t/how-do-i-log-in-on-my-http-localhost-system/109982>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [June 26, 2023, 5:59pm UTC](https://community.auth0.com/t/how-do-i-log-in-on-my-http-localhost-system/109982 "2023-06-26T17:59:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![markmark\_kel](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@markmark\_kel](https://community.auth0.com/u/markmark_kel)\
**Post date:** [June 26, 2023, 5:59pm UTC](https://community.auth0.com/t/how-do-i-log-in-on-my-http-localhost-system/109982/1 "2023-06-26T17:59:37Z")

</div>

So how do folks test logging in, when running a localhost deployment, which doesn’t have an httpS url?

Application configuration does not let me enter an `http` (as opposed to `httpS`) URL (e. g. [http://localhost:4000](http://localhost:4000)) as my Application Login URI, and this thread seems to confirm that http is not an option:

> [@Support Application Payload URI for http and localhost](https://community.auth0.com/t/support-application-payload-uri-for-http-and-localhost/45168/1):
>
> The problem identified in [Application Login URI field payload validation error for https://localhost:3000/authorize](http://community.auth0.com/t/application-login-uri-field-payload-validation-error-for-https-localhost-3000-authorize/31554) still hasn’t been fixed, and it’s making it difficult to test in development. The workaround of using [https://127.0.0.1/](https://127.0.0.1/)… doesn’t quite work because the dev server is expecting http, not https. Is there some reason the engineers can enable non-https localhost for Allowed Callback URLs and Allowed Web Origins, but not Application Login URI?

The “Test application locally” documentation page ([Test Applications Locally](https://auth0.com/docs/get-started/applications/work-with-auth0-locally#use-local-domains-with-auth0)) does not address address this question.

In my test, I used an ngrok session (it exposed an external https endpoint, which terminated an https connections and routes the connection to my localhost’s [http://localhost:4000](http://localhost:4000)), but that is an unreasonably heavy burden to impose on the team, when folks are just working on their features locally, and just want to log into the system running on their machines.

Is there a reasonably lightweight approach for logging into a system that is running on my localhost, over http?

Thank you!  
Mark.

---

<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 26, 2023, 6:15pm UTC](https://community.auth0.com/t/how-do-i-log-in-on-my-http-localhost-system/109982/3 "2023-06-26T18:15:33Z")

</div>

Hello @markmark_kel!

> [@markmark\_kel](#):
>
> So how do folks test logging in, when running a localhost deployment, which doesn’t have an httpS url?

The application login uri is not required and can be skipped for testing purposes, or altogether. None of our sample applications rely on an application login uri and allow for login via `http://localhost:XXX` - Our react sample utilizes `http://localhost:3000` for example:

> <https://github.com/auth0-samples/auth0-react-samples/blob/f28edc86cd05c4dd60a4753722701e8422b70844/Sample-01/README.md?plain=1#L40>

---

<div class="post-metadata">

**Author:** ![markmark\_kel](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@markmark\_kel](https://community.auth0.com/u/markmark_kel)\
**Post date:** [June 27, 2023, 12:21am UTC](https://community.auth0.com/t/how-do-i-log-in-on-my-http-localhost-system/109982/4 "2023-06-27T00:21:38Z")

</div>

> The application login uri is not required and can be skipped for testing purposes, or altogether.

Ok, thank you, leaving the “Application Login URI” field empty, at least for the Auth0 application that serves our localhost deployments seems to work.

Omitting the value does seem to go against the description next to the field in Auth0 Application Settings UI, which states that “In some scenarios, Auth0 will need to redirect to your application’s login page. This URI needs to point to a route in your application that should redirect to your tenant’s /authorize endpoint.” So we’ll see if we run into actual problems. We will probably still plan to populate the value in the auth0 applications serving our staging and production environments (which has its own problems, because doing this introduces and inconsistency between our locahost).

In any case, thank you!

---

<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:** [July 11, 2023, 12:21am UTC](https://community.auth0.com/t/how-do-i-log-in-on-my-http-localhost-system/109982/5 "2023-07-11T00:21:50Z")

</div>

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