Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-3096

authentication database picked up from SRV URL incorrectly

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.31.0
    • 1.15.0, 1.18.0
    • Compass
    • None
    • OS X High Sierra
    • Not Needed
    • Iteration Takaioko

    Description

      if I copy an SRV URL e.g., mongodb+srv://chuck:password@charts-datasets-vkuzx.mongodb.net/datasets, Compass takes the db name and puts it in the auth database field. The correct syntax for populating the auth database field would be ?authSource=dataset. In any case, this breaks with an Atlas hosted cluster because in Atlas, the auth database is always admin, so the user needs to manually change it

      Attachments

        Activity

          People

            Unassigned Unassigned
            chuck.kalmanek@mongodb.com Charles Kalmanek
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: