Skip to content

Commit

Permalink
Remove unnecessary insecure transport for Authlib
Browse files Browse the repository at this point in the history
No longer required as the stub OIDC server runs on localhost, which is exempted
by Authlib:

https://github.com/lepture/authlib/blob/v1.3.2/authlib/common/security.py#L19
  • Loading branch information
markhobson committed Sep 6, 2024
1 parent 0ca34b4 commit b1558fa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/e2e/conftest.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import multiprocessing
import os
import socket
import sys
from typing import Any, Generator
Expand Down Expand Up @@ -83,7 +82,6 @@ def app_client_fixture(live_server: LiveServer, api_key: str) -> Generator[AppCl

@pytest.fixture(name="oidc_server_app", scope="package")
def oidc_server_app_fixture() -> OidcServerApp:
os.environ["AUTHLIB_INSECURE_TRANSPORT"] = "true"
port = _get_random_port()
return oidc_server_create_app({"TESTING": True, "SERVER_NAME": f"localhost:{port}"})

Expand Down

0 comments on commit b1558fa

Please sign in to comment.