Skip to content

v1.2.7 - Auth Cookie Fix

Choose a tag to compare

@GeiserX GeiserX released this 03 Dec 20:45
· 525 commits to main since this release

Critical Bug Fix

Authentication Issue Resolved: Fixed a cookie name mismatch that prevented login even with correct credentials.

What Was Wrong

  • The login endpoint set a cookie named \�iewer_auth`n- But the auth check was looking for a cookie named \�uth_cookie`n- This caused a persistent 401 error after login

Changes

  • Fixed cookie alias in FastAPI dependency injection
  • Added comprehensive auth test suite to prevent regression
  • Tests cover: login flow, cookie handling, whitespace trimming

Docker Images

  • drumsergio/telegram-backup-automation:1.2.7
  • drumsergio/telegram-backup-automation:latest

Note: This is a critical fix for v1.2.5 and v1.2.6 users experiencing login issues.