The following is my MongoDB connection dial from GoLang. But it\'s returning a panic \"server returned error on SASL authentication step: Authentication failed.\".
The error you report seem the cause of the authentication fail is caused by a nil pointer, you should check the data before using them to create the connection