• Type: Icon: Task Task
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 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?

            Assignee:
            manny.eppinger@mongodb.com Emmanuel Eppinger (Inactive)
            Reporter:
            bailey Bailey Matthews
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: