Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Mar 29, 2024
1 parent 95ffbd9 commit f09d02b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/auth/tests/mongodb-oidc.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ After setting up your OIDC
[environment](https://github.com/mongodb-labs/drivers-evergreen-tools/blob/master/.evergreen/auth_oidc/README.md),
source the `secrets-export.sh` file and use the associated env variables in your tests.

The default client should set the appropriate `ENVIRONMENT` `authMechanism` property and include a callback that gets
the appropriate token for the given environment.
The default client should set the appropriate `ENVIRONMENT` auth mechanism property and include a callback that gets the
appropriate token for the given environment.

### Callback Authentication

Expand Down Expand Up @@ -72,7 +72,7 @@ the appropriate token for the given environment.

**2.4 Invalid Client Configuration with Callback**

- Create a `MongoClient` configured with an OIDC callback and auth mechanism property `ENVIRONMENT:bad`.
- Create a `MongoClient` configured with an OIDC callback and auth mechanism property `ENVIRONMENT:test`.
- Assert it returns a client configuration error.

### (3) Authentication Failure
Expand Down

0 comments on commit f09d02b

Please sign in to comment.