Passing Query Parameters to loginWithRedirect Not Working

Hello,

I see that there are several other posts on here showing how to send and retrieve extra query parameters with the Classic Universal Login and the auth0 javascript sdk. I’ve recreated a minimum reproduction example of this not working as it should.

My project is vanilla HTML, CSS, and javascript, no front-end framework is being used. Below are images of my project code, and the line of code I added to the custom login through the auth0 dashboard.

Please let me know if there is something obvious that I am missing here…

The added console log results in “undefined”: