Skip to content

Signup profile fields via @profullstack/profile - #65

Merged
ralyodio merged 1 commit into
masterfrom
feat/profile-fields
Oct 26, 2026
Merged

ralyodio merged 1 commit into
masterfrom
feat/profile-fields

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

Adopts @profullstack/profile 0.1.3.

  • /signup: first_name, last_name (required), company_domain, job_title, linkedin_url (optional), via ProfileFields. /login unchanged.
  • /api/auth/magic validates with validateProfile before minting a link (400 with field errors); the profile rides on login_tokens.profile and is saved to user_profiles on verify with saveSignupProfile (never blocks sign-in).
  • GET/PUT/PATCH /api/v1/me/profile; Your details panel on /account.
  • db/schema.pg.sql: login_tokens.profile + user_profiles (bigint key). Already applied to the prod database.
  • Test: test/signup-profile.test.mjs. bun test + tsc green.

🤖 Generated with Claude Code

/signup asks for first/last name (required) plus company domain, job title and
LinkedIn (optional). Validated before the link is minted, carried on
login_tokens.profile and saved to user_profiles when the link is opened; a
failed save never blocks sign-in. /login is unchanged. GET/PUT/PATCH
/api/v1/me/profile and a Your details panel on /account. Schema in
db/schema.pg.sql (applied to prod).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​profullstack/​profile@​0.1.37610010091100

View full report

@ralyodio
ralyodio merged commit c201d53 into master Oct 26, 2026
3 checks passed
@ralyodio
ralyodio deleted the feat/profile-fields branch October 26, 2026 10:51
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