Skip to content

Validate Auth0 signing configuration and registration email - #3186

Open
shizn wants to merge 3 commits into
mainfrom
fix/auth0-registration-policy
Open

shizn wants to merge 3 commits into
mainfrom
fix/auth0-registration-policy

Conversation

@shizn

@shizn shizn commented Nov 28, 2026 •

Copy link
Copy Markdown
Collaborator

Require a symmetric secret of at least 32 bytes when configuring HS256. Domain-only public-key verification is still supported. Operators using HS256 should check the configured secret length before upgrading and coordinate any rotation with their issuer.

For new accounts, store the email from the identity provider only if its verification flag is true. Profiles without a verified email can still register with an empty contact field. Existing accounts must remain enabled to use authenticated API features.

Built the API server and workspace dependencies and ran the targeted configuration and account-registration tests.

The account-binding lookup checks the current enabled flag on ordinary reads, transactional registration and recovery after a concurrent registration. The authenticated SQL Playground now checks an existing binding before executing and still allows new identities to use the route without creating an account. A suspended account is denied on its next request, and can resume after reactivation.

The API workspace builds. All 599 API security tests and all five account-registration integration tests passed locally with an isolated TiDB instance, including suspension and reactivation using the same provider identity.

@vercel

vercel Bot commented Nov 28, 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 6:10pm UTC
ossinsight-web Ready Ready Preview Nov 29, 2026 6:10pm UTC

Request Review

This branch was successfully deployed

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