Skip to content

feat(ross): #243: make isVerifiedField mandatory and rename usernameField to emailField - #258

Merged
imdeepmind merged 2 commits into
developfrom
feat/#243-mandatory-isverified-and-email-field
Nov 26, 2026
Merged

imdeepmind merged 2 commits into
developfrom
feat/#243-mandatory-isverified-and-email-field

Conversation

@imdeepmind

Copy link
Copy Markdown
Owner

Closes #243

Summary

  • Rename up-auth.fields.usernameField to emailField across config types, JSON schema, auth validators, runtime helpers, and auth routes.
  • Make up-auth.fields.isVerifiedField mandatory in UpAuthFieldsConfig, AJV schema validation, and validateUpAuthProvider.
  • Update route registration (route-registry.ts, server.ts) and auth handlers to treat isVerifiedField as always configured for up-auth.
  • Update unit tests, config fixtures, Playwright e2e specs, and ROSS documentation.

Verification

  • ./dev.sh ross check passed (compile, Vitest coverage, gts lint).
  • ./dev.sh ross-docs check passed (lint, typecheck, Docusaurus build).
  • npm run test:e2e -- e2e/auth.spec.ts e2e/custom-endpoints.spec.ts e2e/delete-ssp.spec.ts e2e/rbac.spec.ts e2e/variant-override.spec.ts passed (141 passed).

@imdeepmind
imdeepmind merged commit 4696962 into develop Nov 26, 2026
6 checks passed
@imdeepmind
imdeepmind deleted the feat/#243-mandatory-isverified-and-email-field branch November 26, 2026 18:09
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.

feat(auth): make isVerifiedField mandatory and rename usernameField to emailField

1 participant