-
Type: Task
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: 1.0.3
-
Component/s: Authentication
-
None
-
Environment:Docker / Linux
Lets say I have this code, with `mongodb` being the name of the docker link allowing me to connect:
// Set client options clientOptions := options.Client().ApplyURI("mongodb:20930") // Connect to MongoDB client, err := mongo.Connect(context.TODO(), clientOptions)
How would I connect to the database using a username and password?