mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-01 02:02:20 +00:00
The token cookie was being set without an explicit path, causing it to default to the request path (/sso/callback). When the frontend tried to clear the cookie at / and /ui paths, it didn't match, so the cookie persisted and users got immediately logged back in after logout. Changes: - Set path="/", httponly=True, samesite="lax" on all token cookies - Add /sso/logout endpoint that properly deletes the httpOnly cookie - Update frontend to redirect to /sso/logout instead of trying to clear cookies client-side (which doesn't work for httpOnly cookies) - Add tests for the logout endpoint https://claude.ai/code/session_01VGbXWF2hBm2gHUBWCvgLaS |
||
|---|---|---|
| .. | ||
| litellm-dashboard | ||
| Dockerfile | ||
| nginx.conf | ||