Skip to content

Add trusted device management API#938

Open
alceops wants to merge 1 commit intorohitdash08:mainfrom
alceops:alceops/device-trust-management
Open

Add trusted device management API#938
alceops wants to merge 1 commit intorohitdash08:mainfrom
alceops:alceops/device-trust-management

Conversation

@alceops
Copy link
Copy Markdown

@alceops alceops commented Apr 24, 2026

Closes #125

Summary

  • records device identity and metadata on successful login
  • adds authenticated endpoints to list, rename/trust, and revoke devices
  • adds PostgreSQL compatibility DDL plus Redis outage fallback so auth/session/cache paths keep working in local/free-tier environments
  • invalidates dashboard cache after expense creation to avoid stale summaries when Redis fallback is active

Tests

  • PYTHONPATH=. ../../.venv/bin/pytest tests

@alceops alceops requested a review from rohitdash08 as a code owner April 24, 2026 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Device trust management & recognition

1 participant