From d6c5ed3ed5f8074105d8f9a50991ddef99198866 Mon Sep 17 00:00:00 2001 From: Anthony Lukach Date: Fri, 18 Jul 2025 22:28:02 -0700 Subject: [PATCH] feat(config): add root path GET requests to default public endpoints --- src/stac_auth_proxy/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stac_auth_proxy/config.py b/src/stac_auth_proxy/config.py index d52ec5f2..e00c5598 100644 --- a/src/stac_auth_proxy/config.py +++ b/src/stac_auth_proxy/config.py @@ -56,6 +56,7 @@ class Settings(BaseSettings): enable_authentication_extension: bool = True default_public: bool = False public_endpoints: EndpointMethodsNoScope = { + r"^/$": ["GET"], r"^/api.html$": ["GET"], r"^/api$": ["GET"], r"^/docs/oauth2-redirect": ["GET"],