-
Type: New Feature
-
Resolution: Duplicate
-
Priority: Critical - P2
-
Affects Version/s: 1.26.1
-
Component/s: Compass
-
Labels:None
-
Not Needed
-
Problem Description
Compass shows a validation error when a connection string with IAM authentication is pasted.
Property 'authStrategy' must be one of values: NONE, MONGODB, X509, KERBEROS, LDAP, SCRAM-SHA-256. Tried to set undefined
This prevents the user from clicking the Connect button. The same connection string works when using other ways to connect, such as pymongo.
Steps to Reproduce
Paste an IAM connection string, e.g.
mongodb+srv://accesskey:secretkey@production-datastore.eucmb.mongodb.net/myFirstDatabase?authSource=%24external&authMechanism=MONGODB-AWS&retryWrites=true&w=majority
Expected Results
Connect button to be enabled and successfully connecting on click.
Actual Results
Connect button is disabled and an error is shown.
Additional Notes
The example given above is for IAM user-based authentication, but role-based authentication isn't working either.
- related to
-
COMPASS-4877 Relax connection string validation to support IAM authentication
- Closed
- links to