Advanced Node and Express challenges are not working

Tell us what’s happening:
I can verify that the glitch project is working correctly by manually executing the requirements, however the testing suite is not working.

Your code so far
https://glitch.com/edit/#!/spice-tuna-j1t8um4hlf

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.106 Safari/537.36.

Challenge: undefined

Link to the challenge:
https://www.freecodecamp.org/learn/information-security-and-quality-assurance/advanced-node-and-express/create-new-middleware

Hi @ThunderEagle, welcome to the forum!

You can see the actual tests that are being run in the markdown file for this challenge. They are looking for the ensureAuthenticated middleware in server.js file, but it looks like you have it in auth.js. I think that’s the problem.

I got it to work after a time. I forget what I had to do, but there were a few times I had to make some non-obvious changes to satisfy the tests.

In one of the challenges I had to actually add https://freecodecamp.org to the CORS urls, as it just had .com entries.