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

I have an internal application we built that only allows login from within our organization. Right now we have auto enable membership turned on so that everyone in our google domain can log in. However, we only want some people to be able to login that we specifically invite. I want to turn off auto enable membership and invite members to the organization. To do this, I need to set the application login URI so I can send invites. However, I can’t set this to localhost. How am I supposed to test this flow locally?

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 ), We are not allowing the localhost for the application login uri. To workaround this, replace the localhost with 127.0.0.1Application Login URI field payload validation error for https://localhost:3000/authorize - #20 by tunedev

Thanks
Dawid