Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-3309

Validate "Source" in MONGODB-X509 authenticator

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • 3.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Go Drivers

      Context

      All other auth mechanisms that require the auth source is "$external" validate that the auth source is either unspecified or "$external":

      MONGODB-X509 requires that the auth source is "$external", but does not validate it anywhere. MONGODB-X509 always uses auth source "$external" independent of the user input, so it works correctly, but may confuse users who try to specify a different auth source (which has no effect). For consistency, we should perform the same validation for all auth sources that require auth source "$external".

      Definition of done

      Pitfalls

      Users may start getting client initialization errors when they didn't previously with the same config. For that reason, we should only do this in a major version release.

            Assignee:
            Unassigned Unassigned
            Reporter:
            matt.dale@mongodb.com Matt Dale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: