Skip to content

Remove Redundant Biometric Prompt Immediately After Registration #2

Description

@maugauwi-hash

Labels: bug, ios, passkey, usability
Priority: Medium
Estimated Time: 1 hour

Description:
AuthStore.register(username:) (Stores.swift:26-36) calls PasskeyService.shared.register()
(one Face ID/Touch ID prompt) and then, on success, calls await signIn(), which calls
PasskeyService.shared.authenticate() — a second, independent passkey ceremony and a second
biometric prompt, seconds after the first, for no functional reason beyond obtaining a token.

Tasks:

  • Have the backend's /auth/register response return a session token directly, or
  • Reuse the registration's own attestation to mint the session without a second ASAuthorizationController round trip
  • Add a UI test asserting only one biometric prompt fires during the registration flow

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions