What happens when FastAPI's OAuth2PasswordBearer receives an expired JWT that still satisfies required scopes?
When protecting an endpoint with FastAPI's OAuth2PasswordBearer dependency, developers often rely on the token's scope claim to enforce least‑privilege access while also expecting the library to reject expired credentials via the exp claim. The exact point at which FastAPI validates scopes relative to expiration is not documented, leaving uncertainty about w