Skip to content

fix(health): detect validated FastAPI Header token guards (#7) - #37

Merged
haydenschmitty merged 1 commit into
haydenschmitty:mainfrom
Bl0ck154:fix/fastapi-validated-header
Nov 2, 2026
Merged

haydenschmitty merged 1 commit into
haydenschmitty:mainfrom
Bl0ck154:fix/fastapi-validated-header

Conversation

@Bl0ck154

@Bl0ck154 Bl0ck154 commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Addresses the third pattern in #7. A FastAPI Header parameter by itself is not a login check; recognize token/key/signature header parameters only if the handler also tests the value in a conditional and rejects failures with HTTP 401 or 403. Added fixtures showing checked vs unchecked headers; regression failed before and passed after the change. Full npm test run passed; no production changes.

@haydenschmitty

Copy link
Copy Markdown
Owner

Merged and out in 0.6.2, thanks @Bl0ck154! It went in with the other Health fixes through #60, and your commit keeps your name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants