Auth
v5.0.1Feature PackageInstallation
pnpm add @corew500/feature-authWhat's Included
This feature package includes 8 components:| Component | Description | Category |
|---|---|---|
| Change Password Form | Form for changing user password | auth-forms |
| Forgot Password Form | Form for requesting password reset | auth-forms |
| Login Form | User login form with email and password | auth-forms |
| Magic Link Form | Passwordless login form that sends magic link via email | auth-forms |
| OTP Verify Form | One-time password verification form | auth-forms |
| Reset Password Form | Form for resetting password with token | auth-forms |
| Signup Form | User registration form | auth-forms |
| Two Factor Form | Two-factor authentication verification form | auth-forms |
Component Previews
Change Password Form
Loading...
Forgot Password Form
Loading...
Login Form
Loading...
Magic Link Form
Loading...
OTP Verify Form
Loading...
Reset Password Form
Loading...
Signup Form
Loading...
Two Factor Form
Loading...
Export Map
Available subpath imports for this package:| Subpath | Type | Import |
|---|---|---|
| . | client | import { ... } from "@corew500/feature-auth" |
| ./server | server | import { ... } from "@corew500/feature-auth/server" |
UI Dependencies
change-password-formforgot-password-forminput-otplogin-formotp-verify-formpassword-inputreset-password-formsignup-formtwo-factor-form
Recent Changes
v5.0.0
### Patch Changes - Updated dependencies [8956ee0] - Updated dependencies [8956ee0] - @corew500/ui@1.9.0 - @corew500/observability@7.0.0
v4.0.0
### Patch Changes - Updated dependencies [d473bc2] - Updated dependencies [a472868] - @corew500/ui@1.8.0 - @corew500/observability@6.0.0
v3.0.0
### Minor Changes - 7e50ffa: Add `createPasswordValidator` utility with configurable password policy rules. Returns both an imperative `validate` function and a Zod schema for use with form validation libraries. Supports `minLength`, `requireUppercase`, `requireLowercase`, `requireDigit`, and `requireSpecial` options. Also exports `PasswordPolicy` type. ### Patch Changes - Updated dependencies [2d8a02c] - Updated dependencies [7e50ffa] - Updated dependencies [6e9c752] - Updated dependencies [7e50ffa] - @corew500/ui@1.7.0 - @corew500/infra-supabase@0.4.0 - @corew500/observability@5.0.0
v2.2.8
### Patch Changes - e6ecfad: Add optional structured logging to all feature packages Each server action and service function now accepts an optional `logger?: Logger` parameter (imported as a type from `@corew500/observability`). Callers can inject a logger to get structured audit trails for auth events, form submissions, assessment scoring, and event registration flows. No logger is required — all existing call sites are unaffected.
v2.2.7
### Patch Changes - f11357f: Deliver last 3 changelog versions to consuming projects via postinstall The `setup-claude-skills.mjs` postinstall script now extracts the last 3 versions from each package's CHANGELOG.md and writes them to `.claude/package-updates/<package-name>.md` in the consuming project. This makes release notes discoverable by AI agents working in downstream apps. - Updated dependencies [f11357f] - Updated dependencies [f241feb] - @corew500/ui@1.6.6 - @corew500/infra-supabase@0.3.0