# How to test application login URI locally if localhost is not valid

**URL:** <https://community.auth0.com/t/how-to-test-application-login-uri-locally-if-localhost-is-not-valid/167687>\
**Category:** Get Help\
**Tags:** user-invitation, user-management\
**Created:** [January 7, 2025, 3:41am UTC](https://community.auth0.com/t/how-to-test-application-login-uri-locally-if-localhost-is-not-valid/167687 "2025-01-07T03:41:17Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [January 7, 2025, 2:23pm UTC](https://community.auth0.com/t/how-to-test-application-login-uri-locally-if-localhost-is-not-valid/167687/3 "2025-01-07T14:23:05Z")

</div>

Hi @sam77

Welcome to the Auth0 Community!

Thank you for posting your question; due to security reasons (more about that here → [Security Risks of Using Localhost for Callback URL](https://community.auth0.com/t/security-risks-of-using-localhost-for-callback-url/118781) ), We are not allowing the localhost for the application login uri. To workaround this, replace the localhost with `127.0.0.1` → [Application Login URI field payload validation error for https://localhost:3000/authorize - #20 by tunedev](https://community.auth0.com/t/application-login-uri-field-payload-validation-error-for-https-localhost-3000-authorize/31554/20)

Thanks  
Dawid

---

_[View the full topic](https://community.auth0.com/t/how-to-test-application-login-uri-locally-if-localhost-is-not-valid/167687)._
