Skip to content

Reject unverified member JWTs with shared v4 verifier - #30

Open
jmgasper wants to merge 3 commits into
developfrom
fix/reject-unverified-members
Open

jmgasper wants to merge 3 commits into
developfrom
fix/reject-unverified-members

Conversation

@jmgasper

@jmgasper jmgasper commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Human JWTs obtained directly from Auth0 must not authenticate without email verification. Pin the shared v4 verifier to immutable commit c2df92b2227089909ab6e229df0ec6b658bb431a, rejecting missing, false, malformed, and conflicting verification claims. Public endpoints remain available without authentication, and genuine client-credentials grants remain supported.

Depends on topcoder-platform/tc-core-library-js#10. This uses the v4 rc.2-compatible security backport (4.0.0-rc.2.1), preserving this service's existing issuer/audience policy. Package, lockfile, and workspace overrides are updated together.

Validation: frozen lockfile/install-plan validation passed; tarball checksums match the downloaded release. The shared backport passes all 33 tests and ESLint. Forums validation: 191 tests pass, with 13 database integration tests skipped. Valid member fixtures include verification, and missing, false, and string verification claims are explicitly rejected. Changed-file ESLint passes.

Rollout: verified-member token issuance and the identity/accounts companion PRs must precede enforcement. Older human tokens missing verification require fresh login. No deployment is performed by this PR.

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