Skip to content

feat(auth): implement session review/revocation on Security tab#276

Merged
Kingvic300 merged 1 commit into
Txio-labs:mainfrom
naninu123:feat/147-session-review
Jul 26, 2026
Merged

feat(auth): implement session review/revocation on Security tab#276
Kingvic300 merged 1 commit into
Txio-labs:mainfrom
naninu123:feat/147-session-review

Conversation

@naninu123

Copy link
Copy Markdown
Contributor

Summary

Implements the Security tab "Review Sessions" flow from #147.

  • Expose GET /auth/sessions and DELETE /auth/sessions/{session_id}
  • Record a sessions-collection row on password login/register and Google/GitHub OAuth
  • Replace the SecurityTab placeholder toast with a live list + revoke UI
  • Add vitest coverage for list + revoke

Test plan

  • cargo check -p txio-api
  • npx vitest run src/components/AuthModal/tabs/SecurityTab.test.tsx (2/2)
  • Manual: open Security tab → Review Sessions → see current device → revoke another session

Closes #147

Wire GET/DELETE /auth/sessions endpoints, record login sessions on
password and OAuth sign-in, and replace the SecurityTab placeholder
toast with a live session list + revoke UI. Closes Txio-labs#147.
@vercel

vercel Bot commented Jul 26, 2026

Copy link
Copy Markdown

@naninu123 is attempting to deploy a commit to the oladimejivictor611-5012's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Kingvic300
Kingvic300 merged commit cd350b2 into Txio-labs:main Jul 26, 2026
7 of 11 checks passed
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.

Feature request: implement session review/revocation on the Security tab

2 participants