Skip to content

feat(ios,macos): seedphrase sign-in, instant account creation, multi-method auth settings#331

Draft
Ryanmello07 wants to merge 1 commit into
urnetwork:mainfrom
Ryanmello07:feat/seedphrase-auth-upstream
Draft

feat(ios,macos): seedphrase sign-in, instant account creation, multi-method auth settings#331
Ryanmello07 wants to merge 1 commit into
urnetwork:mainfrom
Ryanmello07:feat/seedphrase-auth-upstream

Conversation

@Ryanmello07

Copy link
Copy Markdown
Contributor

Summary

Ports the seedphrase-auth feature from our beta fork (Ryanmello07/urnetwork-ios#4, built against beta/custom-server) upstream. Adds:

  • 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.
  • Guest mode removed (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.

⚠️ Blocked on SDK upstream PR

This depends on urnetwork/sdk#132 (AuthTypes/WalletAddress fields and the seedphrase/wallet-auth endpoints this UI calls), which is still open. Package.swift here points at the stock sdk/main sibling 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#132 merges
  • CI green on this PR (iOS + macOS unsigned build)
  • Manual smoke test: instant account creation, seedphrase login, add/remove each auth method (email, Apple, Google, Solana wallet), network name claim/change for both seedphrase-only and wallet-only accounts

🤖 Generated with Claude Code

…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.
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.

1 participant