Repository navigation
Commit fc7cc1b
fix(sso): 🐛 confirm missing emails by link, fix button contrast and logos
- Replace the six-digit code with an emailed confirmation link, matching
VitNode's existing email verification. The link works for 30 minutes,
once, and only in the browser that started the sign-in (prevents
account pre-hijacking); a link opened elsewhere explains why.
- Rework the pending table (confirmHash/confirmExpiresAt/...) and
regenerate the unreleased migration.
- Reddit and GitLab become neutral buttons with their colored mark, Kick
uses its black and green, Slack gets its four-color logo, so no button
label ends up dark-on-color.
- Center the "Check your email" state, add a mail icon to the email input
and icons to "Send a new link" and "Use a different email".
- Update docs and screenshots for the link flow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S9WHKDMZd6SGLUjdYbi4hT1 parent 2239b20 commit fc7cc1b
51 files changed
Lines changed: 4523 additions & 2926 deletions
File tree
- apps
- api/migrations/20261030153537_sso_attempts_and_pending
- web/content/docs/dev/sso
- email-confirmation
- packages/vitnode/src
- api
- adapters/sso
- models
- modules/users/sso
- routes
- database
- emails
- ui
- locales
- api
- tanstack/auth
- tests
- views/auth/sso
- callback
- email
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
0 commit comments