Fix Cookie Attributes Across Endpoints for Secure Logout
Summary FastAPI logout appears to work because the endpoint returns 200 and deletes the auth cookie, but after a page refresh the user is automatically logged in again. This indicates that the cookie is either not being removed with the exact attributes it was set with, or another endpoint is resetting it immediately after logout … Read more