Skip to content

Commit ea6040e

Browse files
committed
address review
1 parent f166270 commit ea6040e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

source/auth/tests/mongodb-oidc.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,14 @@ source the `secrets-export.sh` file and use the associated env variables in your
7575
**2.4 Invalid Client Configuration with Callback**
7676

7777
- Create an OIDC configured client with an OIDC callback and auth mechanism property `ENVIRONMENT:test`.
78-
- Assert it returns a client configuration error.
78+
- Assert it returns a client configuration error upon client creation, or client connect if your driver validates on
79+
connection.
7980

8081
**2.5 Invalid use of ALLOWED_HOSTS**
8182

8283
- Create an OIDC configured client with auth mechanism properties `{"ENVIRONMENT": "azure", "ALLOWED_HOSTS": []}`.
83-
- Assert it returns a client configuration error.
84+
- Assert it returns a client configuration error upon client creation, or client connect if your driver validates on
85+
connection.
8486

8587
### (3) Authentication Failure
8688

@@ -120,9 +122,9 @@ source the `secrets-export.sh` file and use the associated env variables in your
120122
```
121123

122124
- Perform a `find` operation that fails.
123-
- Assert that the human callback has been called once.
125+
- Assert that the callback has been called once.
124126
- Perform a `find` operation that succeeds.
125-
- Assert that the human callback has been called once.
127+
- Assert that the callback has been called once.
126128
- Close the client.
127129

128130
### (4) Reauthentication

0 commit comments

Comments
 (0)