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

authentication database picked up from SRV URL incorrectly

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.31.0
    • Affects Version/s: 1.15.0, 1.18.0
    • Component/s: Compass
    • None
    • Environment:
      OS X High Sierra
    • Not Needed
    • Iteration Takaioko

      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

        1. Screen Shot 2018-11-08 at 2.42.11 pm.png
          173 kB
          Thomas Rueckstiess
        2. Screen Shot 2022-03-21 at 11.08.11 PM.png
          162 kB
          Rhys Howell

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

              Created:
              Updated:
              Resolved: