Conversation
adjusted api authentication
emmaeturner
left a comment
There was a problem hiding this comment.
This PR correctly removes OAuth2PasswordBearer and replaces it with HTTPBearer to align FastAPI's UI and backend behavior with the actual JWT-based, API-key issued authentication. Swagger docs now behave as expected. I’ve verified no username/password flows remain. Just one small suggestion: either fully remove the commented OAuth2 code or leave a TODO note for clarity. Once the type-check failure is resolved, this is good to go!
Got it, will remove the comments now. |
changes
context
questions
No question at this time