XMLWordPrintableJSON

    • Type: Task
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: 1.0.3
    • Component/s: Authentication
    • None
    • Environment:
      Docker / Linux
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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:
              Emmanuel Eppinger (Inactive)
              Reporter:
              Bailey Matthews
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: