Skip to content

Commit 1efbe66

Browse files
committed
Merge branch 'main' into examples/oidc-docker-compose
2 parents d36dd2e + 13acd0f commit 1efbe66

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/stac_auth_proxy/middleware/EnforceAuthMiddleware.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""Middleware to enforce authentication."""
22

33
import logging
4-
from dataclasses import dataclass, field
4+
from dataclasses import dataclass
55
from typing import Annotated, Any, Optional, Sequence
66

77
import httpx
@@ -36,7 +36,7 @@ class EnforceAuthMiddleware:
3636
_jwks_client: Optional[jwt.PyJWKClient] = None
3737

3838
@property
39-
def jwks_client(self) -> HttpUrl:
39+
def jwks_client(self) -> jwt.PyJWKClient:
4040
"""Get the OIDC configuration URL."""
4141
if not self._jwks_client:
4242
logger.debug("Requesting OIDC config")

tests/conftest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""Pytest fixtures."""
22

3-
import json
43
import os
54
import threading
65
from typing import Any, AsyncGenerator

0 commit comments

Comments
 (0)