-
Notifications
You must be signed in to change notification settings - Fork 157
Open
Labels
Milestone
Description
Tests should be added to the gRPC-Gateway package to ensure that authentication and CORS are working as intended.
This can be either an integration test or even a unit test.
Different scenarios to cover include:
-
Without Basic Auth and No CORS
- No password should work.
- Using a password should fail.
-
With Basic Auth and No CORS
- No password should fail.
- Valid password should work.
- Invalid password should fail.
-
Without Basic Auth and CORS
- No password with invalid CORS should fail.
- No password with valid CORS should fail.
-
With Basic Auth and CORS
- No password with valid CORS should fail.
- Valid password with valid CORS should work.
- Valid password with invalid CORS should fail.
- Invalid password with valid CORS should fail.