Skip to content

Add API token sessions management in Settings - #15

Merged
gjong merged 2 commits into
mainfrom
cursor/api-token-sessions-25b7
Jul 27, 2026
Merged

Add API token sessions management in Settings#15
gjong merged 2 commits into
mainfrom
cursor/api-token-sessions-25b7

Conversation

@gjong

@gjong gjong commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Summary

First slice of roadmap OIDC / 2FA / session management (#34): manage durable API tokens / sessions in Settings (parity with backend + web profile sessions).

Design: docs/design/api-token-sessions.md · ADR-020

Changes

  • DELETE …/sessions/{id} client + UserSessionRepository (list/create/revoke + profile MFA)
  • Settings: MFA status (read-only) + API tokens screen
  • Create token (description ≥ 8, expiry) with one-time copy dialog; list masks tokens; revoke with confirm
  • Strings en/nl/de; unit tests
  • Deferred: OIDC login, MFA enroll/verify, login-time 2FA challenge

Test plan

  • Unit tests
  • Lint + assembleDebug
  • Confirm CI (build + instrumented) — green on run 30298049201
  • Design → senior build → QA APPROVE
Open in Web Open in Cursor 

cursoragent and others added 2 commits July 27, 2026 13:41
First slice of the OIDC/2FA/sessions epic: list, create, and revoke
durable user sessions, plus read-only MFA status in Settings.

Co-authored-by: Gerben Jongerius <gjong@users.noreply.github.com>
List, create, and revoke durable user sessions against the Pledger
profile API, show MFA status read-only, and document this as the first
slice of the OIDC/2FA/sessions epic.

Co-authored-by: Gerben Jongerius <gjong@users.noreply.github.com>
@gjong
gjong marked this pull request as ready for review July 27, 2026 19:48

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. Cursor Bugbot and Cursor Security Agent were not present on this PR, so those signals were skipped; CI is green and no applicable approval policy required human review. No reviewers were assigned.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router and Approver

@gjong
gjong merged commit b05e841 into main Jul 27, 2026
3 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.

2 participants