Login callback always Invalid URL

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.

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

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