We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c1404f commit 42a2c26Copy full SHA for 42a2c26
src/stac_auth_proxy/middleware/EnforceAuthMiddleware.py
@@ -85,6 +85,8 @@ async def __call__(self, scope: Scope, receive: Receive, send: Send) -> None:
85
return await self.app(scope, receive, send)
86
87
request = Request(scope)
88
+
89
+ # Skip authentication for OPTIONS requests, https://fetch.spec.whatwg.org/#cors-protocol-and-credentials
90
if request.method == "OPTIONS":
91
92
0 commit comments