Auth0 Home Blog Docs

Laravel auth0 integration : The redirect_uri parameter is not valid

auth0

#1

Hi, I tried to integrate Auth0 into my laravel app according to Auth0 Laravel Quickstart,
made all the steps,

It redirects me to
https://wallter.eu.auth0.com/authorize?response_mode=query&scope=openid%20email%20email_verified&response_type=code&redirect_uri=local.accounts.wallter%2Fauth0%2Fcallback&client_id=UGvJrnvKhNZls8VPSUDTYEDxMwMCNcNp&state=5bcdeeb7627e75.25065676

wallter
Oops!, something went wrong
nvalid_request: The redirect_uri parameter is not valid: “local.accounts.wallter/auth0/callback” If url looks fine, check that you are not including non printable chars

I tried to google yet found nothing.
Any Idea? Can you please help?

Thanks,
Sincerely,
Avraham


#2

Hey there @meirr, when you get a moment can you verify that the redirect_url configured is as:

https://<YOUR_TENANT_NAME>.auth0.com/login/callback

Please let me know if this helps solve your issue or if you continue to experience the problem. Thanks!


#3

Hi James,
I added the redirect_url was missing ‘http://’ . and it fixed it.
Thanks a lot!

p.s.
Just to notice I followed
laravel quickstart
https://manage.auth0.com/#/applications/IGjX7qTuzaSkcsx7rzO0Hr2TSEedobiF/quickstart
I read there
redirect_uri - The callback URI for your Laravel application to handle the login response from Auth0; by default this is APP_URL/auth0/callback (required)
=>
I suppose you meant ‘http:’ is inside APP_URL …

Thanks a lot!


#4

I’m glad everything worked out! Please be sure to stop by and let us know if you run into any other challenges again.