Skip to content

Commit 7b0815e

Browse files
committed
add missing environs for tests
Signed-off-by: Jesse Sanford <108698+jessesanford@users.noreply.github.com>
1 parent 209b37b commit 7b0815e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_proxy_oauth_endpoints.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ def proxy_server(monkeypatch):
2525
# construct metadata locally instead of performing an HTTP GET.
2626
os.environ.setdefault("UPSTREAM_AUTHORIZATION_ENDPOINT", "https://upstream.example.com/authorize")
2727
os.environ.setdefault("UPSTREAM_TOKEN_ENDPOINT", "https://upstream.example.com/token")
28+
os.environ.setdefault("UPSTREAM_JWKS_URI", "https://upstream.example.com/jwks")
29+
os.environ.setdefault("UPSTREAM_CLIENT_ID", "client123")
30+
os.environ.setdefault("UPSTREAM_CLIENT_SECRET", "secret123")
2831

2932
# Deferred import so the env vars above are in effect.
3033
from examples.servers.proxy_oauth import server as proxy_server_module

0 commit comments

Comments
 (0)