SQL-2954: Support OIDC machine flow #379
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This change adds a check for authentication mechanism properties
ENVIRONMENTandTOKEN_RESOURCE.For
azureandgcpboth properties will be specified. Fork8sonlyENVIRONMENTneeds to be specified.Added unit tests to check that the human flow callback is added when the machine flow properties are not set.
Ran manual tests using the
mongo-java-driverOIDC machine flow tests. I added in their script a few lines to check out my JDBC changes and run our Main.java test file.The working patch with my changes. The azure and gcp tasks pass. The k8s one has a missing dependency error. I'll create a ticket to address that, for now the azure passing is the important one.
https://spruce.mongodb.com/version/6903ab0757a7fa0007359575/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC
Failing patch without changes:
https://spruce.mongodb.com/version/6903ba07f4fc530007ce6899/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC