Repository navigation
feat(mobile): single password field and phone autofill on sign-up - #14832
Merged
Merged
Conversation
|
Drop the confirm-password field on mobile sign-up and let iOS and Android suggest, save and fill passwords and the emailed code. - newPasswordSchema: password rules without a confirmation field - Create password: one field marked as a new password, with iOS password rules and a hidden username field so the keychain saves it - Sign in: email marked as username, password as current password - Code screen: marked as a one-time code - webcredentials:audius.co entitlement, plus webcredentials (AASA) and get_login_creds (assetlinks) so passwords are shared between the app and audius.co No change to Hedgehog or authentication. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dylanjeffers
force-pushed
the
claude/signup-single-password-autofill
branch
from
December 5, 2026 17:36
d6e712b to
76aaba5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before: mobile sign-up asked for the password twice, and iOS and Android never offered to generate or save it. On a new phone people had to remember it, and the emailed code had to be typed by hand.
After: one password field with the show toggle. iOS suggests a strong password and saves it to the keychain with the email; Android Autofill does the same. At sign-in the phone fills the email and password, and the code field is marked as a one-time code so the OS can fill it.
This is the "shorter form and phone autofill" step from the sign-up strategy doc. Hedgehog and authentication are unchanged: same password, same encryption, same emailed code.
How:
newPasswordSchemain common: the existing password rules without a confirmation field.passwordSchema(web, change password, reset) is unchanged.textContentType='newPassword',autoComplete='new-password'and iOSpasswordRulesmatching the schema, plus an invisible username field holding the email so the keychain saves the pair.PasswordCompletionChecklisttakeshasConfirmField(default true, so change password is unchanged) and hides "passwords match" when false.oneTimeCode/one-time-code.webcredentials:audius.coentitlement,webcredentialsin apple-app-site-association andget_login_credsin assetlinks.json, so saved passwords are shared between the app and audius.co.Ships in two parts: the JS screens can go out by OTA, but the entitlement needs a native build, and the
.well-knownfiles need a web deploy before iOS will trust the domain.Test plan:
Rebased onto the sign-up redesign (#14835). CreatePasswordScreen keeps the new glass card and step header, now with one password field that submits on Done.
Generated by Claude Code