Sổ tay kỹ thuật
Tìm lệnh, config, lỗi…
Ctrl K
tất cả
how-to
concept
cheatsheet
troubleshooting
#jwt
FastAPI xác thực bằng JWT – OAuth2PasswordBearer, PyJWT, pwdlib
how-to
Dùng khi API FastAPI cần đăng nhập bằng username/password, trả access token JWT và bảo vệ endpoint bằng dependency get_current_user.