uri = mongodb+srv://${username}:${password}@${cluster}/yourDatabase
So a while ago i made my first mongoDB connect for a project. I’ve changed my password and added 2-factor since then. via the browser i can login correctly. Via vscode, it’s been erroring with a ‘MongoServerError: bad auth : authentication failed’ i happened to stumble over the connection in the side bar. Surprisingly the one which works in the old password… what gives?