Application Setup Error for Local Development using LocalHost

I am trying to set up my 1st Auth0 project using the generated demo app. I created my new application and was trying to fill in the URLs for authorized, etc. But no matter what I put in I get:

" Error! Payload validation error: ‘Object didn’t pass validation for format absolute-uri-or-empty: https://localhost:3000/login’ on property initiate_login_uri (Initiate login uri, must be https and cannot contain a fragment)."

Can you
a) Tell me what I did wrong
b) Fix the page to provide more useful guidance like valid vs. invalid examples
c) Maybe default the fields in the pages to support the localhost example?

This seems to come up at regular intervals, so a combination of better UX and more documentation (linked off that page) would be helpful.

Hello @BlitzkriegSoftware, Welcome to the Auth0 Community!

This specific error is for Application Login URI field.
If you click on the Learn More link below the Application Login URI field, You will be redirected to:

There it is mentioned the The login_url should point to a route in the application that ends up redirecting to Auth0’s /authorize endpoint, e.g. https://mycompany.org/login . Note that it requires https and it cannot point to localhost .

For this particular field only you cannot use localhost.
Please let me know if this helps!

1 Like

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