From bb4e3dd93755a9c0a3eb15252873f7f0191049e6 Mon Sep 17 00:00:00 2001 From: lchen-2101 <73617864+lchen-2101@users.noreply.github.com> Date: Wed, 26 Jun 2024 13:42:40 -0400 Subject: [PATCH] fix: update cors middleware to allow all headers (#183) closes #182 --- src/regtech_user_fi_management/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/regtech_user_fi_management/main.py b/src/regtech_user_fi_management/main.py index 8887010..66fc277 100644 --- a/src/regtech_user_fi_management/main.py +++ b/src/regtech_user_fi_management/main.py @@ -64,7 +64,7 @@ async def lifespan(app_: FastAPI): CORSMiddleware, allow_origins=["*"], allow_methods=["*"], - allow_headers=["authorization"], + allow_headers=["*"], ) app.include_router(admin_router, prefix="/v1/admin")