Tell us what’s happening:
My test is passed for this challange, but app didnt work as it should be, I even tried the solution provided by FCC which also has the same error, so I’m now clueless on what causing this error.
I use MongoDb atlas for the database, I had added the Global IP address and provided admin access to the user added to the database.
Even with all these set up, I’m getting the error as “MongoError: not authorized on admin to execute command”
In some instance, the data is getting added to the database but still showing this error which is not allowing to redirect to ‘/profile’ route once the authentication got success
Your code so far
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36.