feat(ios,macos): seedphrase sign-in, instant account creation, multi-method auth settings#331
Draft
Ryanmello07 wants to merge 1 commit into
Draft
Conversation
…d multi-method auth settings Adds a full seedphrase-based auth flow alongside the existing email/SSO/wallet paths: - Seedphrase login and instant (no-verification) account creation, with a seedphrase display/backup screen on both iOS and macOS. - A rebuilt Settings > Sign-In Methods section (shared between iOS and macOS) that lists and manages every bound auth method live from the server's auth_types array, with an AddAuthSheet supporting email/password, Apple, Google, and Solana wallet binding. - Profile's claim-vs-change network name flow now checks live auth_types instead of a frozen legacy field, so it correctly detects when a user still needs to claim a name. - Guest mode removed (GuestModeSheet, GuestUpgradeViewModel, and the associated create-network guest path deleted). This is the exact diff behind #4, squashed into one commit for this upstream PR (that branch's own history is ~70 commits, mostly iterative CI/build-error/type-checker-timeout fixes with no standalone review value). Depends on urnetwork/sdk#132 (AuthTypes/WalletAddress fields and the seedphrase/wallet-auth endpoints this UI calls) -- opening as a draft until that lands, since this won't build against a Package.swift pointed at stock upstream sdk/main until then.
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.
Summary
Ports the seedphrase-auth feature from our beta fork (
Ryanmello07/urnetwork-ios#4, built againstbeta/custom-server) upstream. Adds:auth_typesarray, with anAddAuthSheetsupporting email/password, Apple, Google, and Solana wallet binding.auth_typesinstead of a frozen legacy field.GuestModeSheet,GuestUpgradeViewModel, and the associated create-network guest path deleted).This is the net diff of the beta PR, squashed into one commit — that branch's own history is ~70 commits, mostly iterative CI/build-error/type-checker-timeout fixes with no standalone review value upstream.
This depends on urnetwork/sdk#132 (
AuthTypes/WalletAddressfields and the seedphrase/wallet-auth endpoints this UI calls), which is still open.Package.swifthere points at the stocksdk/mainsibling checkout, so this won't build until #132 merges. Opening as a draft for that reason — will mark ready for review once the SDK PR lands and CI is green here.Test plan
urnetwork/sdk#132merges🤖 Generated with Claude Code