Auth0 setup with Express.js, issues with /authorize endpoint and login for a signed up user

With my Auth0 account I set up an Application with a mongoDB database. I followed the quickstart tutorial for Express.js and at the point where I was testing going to my /login endpoint (http://localhost:8080/login) I was getting an error at the /authorize endpoint due to a missing “?” at the end of the ‘redirect_uri’ in the URL.

https://dev-xxxxxxxxx.us.auth0.com/authorize?client_id=xxxxxxxxxxxxxxxx&scope=openid%20profile%20email&response_type=id_token&redirect_uri=http%3A%2F%2Flocalhost%3Axxxx%2Fcallback&response_mode=form_post&nonce=xxxxxxxxxxxxxxxxxxxxx&state=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

The change I made that made it work:
redirect_uri?=http

I wanted to know why that question mark is missing in the url by default, and is there a config to make sure that it’s added in automatically?

Thanks for any help in advanced!