# Login callback always Invalid URL

**URL:** <https://community.auth0.com/t/login-callback-always-invalid-url/193340>\
**Category:** Get Help\
**Tags:** configuration, application\
**Created:** [October 18, 2025, 12:00pm UTC](https://community.auth0.com/t/login-callback-always-invalid-url/193340 "2025-10-18T12:00:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dergunov.web](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dergunov.web/32/77075_2.png) [@dergunov.web](https://community.auth0.com/u/dergunov.web)\
**Post date:** [October 18, 2025, 12:00pm UTC](https://community.auth0.com/t/login-callback-always-invalid-url/193340/1 "2025-10-18T12:00:26Z")

</div>

Hi there.

Each time I try to add auth0 to my project, I get this error: Invalid URL. Each time I have to double and triple check if I set up all urls correctly, so, here they are:

Allowed callback urls: “http:// localhost:3005/auth/callback”

Allowed logout urls: “http:// localhost:3005”

Allowed web origins: “http:// localhost:3005”

(there is a space between http:// and localhost because of rules of this form)

And I still get the same error. I didn’t change any env variables, so, the functionality just stopped working. I’m not able to read the problem from logs, they contains the same useless messages like  
{  
“message”: “Invalid URL”,  
“oauthError”: “access\_denied”,  
“type”: “oauth-authorization”  
}

So, here is a gentle request to Auth0 team: could you please make your product more stable and more convenient to use? And please do something with logs system, it’s not possible to detect errors now.

Regards.

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [October 20, 2025, 11:10pm UTC](https://community.auth0.com/t/login-callback-always-invalid-url/193340/3 "2025-10-20T23:10:29Z")

</div>

Hi @dergunov.web

Welcome to the Auth0 Community!

Could you please let me know what kind of application are you using? React/NextJS something else?

Also, could you let me know if you experience the same issue using one of our sample applications?

Kind Regards,  
Nik

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [October 31, 2025, 7:45pm UTC](https://community.auth0.com/t/login-callback-always-invalid-url/193340/4 "2025-10-31T19:45:34Z")

</div>

Since I haven’t heard from you for a while @dergunov.web, I will be marking the above reply as the solution to the thread.

If you will still need assistance on this matter, please send me a DM to reopen to the topic if it gets closed or just reference this one in your new one!

Kind Regards,  
Nik

---

<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:** [November 14, 2025, 7:45pm UTC](https://community.auth0.com/t/login-callback-always-invalid-url/193340/5 "2025-11-14T19:45:58Z")

</div>

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