Skip to content

fix(auth): keep signups from stranding, and show passkey progress - #129

Merged
yahyafakhroji merged 2 commits into
mainfrom
fix/require-passkey-on-signup
Sep 8, 2026
Merged

yahyafakhroji merged 2 commits into
mainfrom
fix/require-passkey-on-signup

Conversation

@yahyafakhroji

Copy link
Copy Markdown
Collaborator

Problem

Someone who verifies their email but never enrols a passkey ends up locked out for good: signing up again says the address is taken, and the otpEmail that verification enrolled can't sign anyone in. The only offered way off that screen was Back. Separately, the passkey entry on /login/method just dimmed while the ceremony ran, which reads as disabled rather than busy.

Solution

Hide Back on the signup leg and say plainly that leaving means losing the account. Swap the chooser's passkey icon for the same spinner /login/passkey already shows.

The warning is a stopgap, not a fix — a closed tab or a device without an authenticator still strands the account. Real recovery is Phase C, and the alert is commented for removal then.

Refs #111

Abandoning enrolment strands the account: verification already ran, so a
retry answers ALREADY_EXISTS, while the otpEmail it enrolled is not a
primary factor and signs nobody in. Hides Back, which was the only offered
way out, and says plainly what leaving costs. Temporary until Phase C
ships recovery.
The chooser only dimmed the entry, which reads as disabled rather than
busy. Swaps its icon for the same spinner /login/passkey already shows.
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

🧪 Test Summary

Job Status
E2E (fast, fake provider) ✅ success
Unit Tests (component) (0) ✅ success
Unit Tests (component) (1) ❌ failure
Unit Tests (component) (2) ✅ success

View workflow run

@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

🧪 Test Summary

Job Status
E2E (fast, fake provider) ✅ success
Unit Tests (component) (0) ✅ success
Unit Tests (component) (1) ✅ success
Unit Tests (component) (2) ✅ success

View workflow run

@yahyafakhroji
yahyafakhroji merged commit 13cc1cc into main Sep 8, 2026
31 of 33 checks passed
@yahyafakhroji
yahyafakhroji deleted the fix/require-passkey-on-signup branch September 8, 2026 02:31
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.

2 participants