Skip to content

Check active account status on every authenticated API request - #3223

Merged
shizn merged 1 commit into
mainfrom
fix/check-current-account-on-authenticated-requests
Nov 29, 2026
Merged

shizn merged 1 commit into
mainfrom
fix/check-current-account-on-authenticated-requests

Conversation

@shizn

@shizn shizn commented Nov 29, 2026

Copy link
Copy Markdown
Collaborator

The Auth0 authentication hook now reads the verified provider binding before an authenticated handler runs. Disabling an existing account takes effect on the next request, even with an unexpired token. The enabled account ID is reused within that request. Endpoints that allow unregistered identities can still authenticate them without creating an account or contacting the identity provider.

The operator guide describes suspension, restoration and identity-provider revocation. Existing curation and machine-operator credentials retain their separate authorization checks.

Verification

  • Built the API and its workspace dependencies with Node.js 24 and the frozen lockfile.
  • Passed all 659 API security checks and both runtime dependency tests.
  • Ran 10 integration tests against isolated TiDB and Redis, including startup through the production CLI. The same test token was used before suspension, while suspended and after restoration. The test covers profile reads, email writes, subscriptions, SQL Playground, Explorer curation and operator access.

@vercel

vercel Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ossinsight-docs Ready Ready Preview Nov 29, 2026 5:58pm UTC
ossinsight-web Ready Ready Preview Nov 29, 2026 5:58pm UTC

Request Review

@shizn
shizn merged commit 6051c2c into main Nov 29, 2026
5 checks passed
@shizn
shizn deleted the fix/check-current-account-on-authenticated-requests branch November 29, 2026 18:03

This branch was successfully deployed

2 active deployments
Preview – ossinsight-web — 948708e0 Deployed Nov 29, 2026 by vercel[bot]
Preview – ossinsight-docs — 948708e0 Deployed Nov 29, 2026 by vercel[bot]
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.

1 participant