-
Type: New Feature
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: Authentication
Add support for new connection string options and options being passed into the MongoClient for OIDC.
AC:
- Sync the new connection string spec tests from https://github.com/mongodb/specifications/pull/1365/files
- Add support for the following auth mechanism properties: PRINCIPAL_NAME, DEVICE_NAME, REQUEST_TOKEN_CALLBACK, REFRESH_TOKEN_CALLBACK
- Create types for the callback functions, OIDCRequestTokenResult, and OIDCMechanismServerStep1
- Fail validation for the following cases:
- Refresh callback without request callback
- No callbacks and no device name
- Device name is not one of "aws", "gcp" or "azure"
- Device name but no credentials found