Skip to content

feat(auth): add native sign in with apple - #21

Merged
realcodesiman merged 1 commit into
mainfrom
feat/apple-sign-in
Nov 13, 2026
Merged

realcodesiman merged 1 commit into
mainfrom
feat/apple-sign-in

Conversation

@realcodesiman

Copy link
Copy Markdown
Contributor

Summary

  • Add native Sign in with Apple (App Store guideline 4.8, since Google/Facebook login already exist).
  • Uses the id_token grant on POST /api/auth/mobile/token with a hashed nonce; no browser redirect.

Changes

  • app.config.ts: ios.usesAppleSignIn and the expo-apple-authentication plugin (native change, needs a new build).
  • src/api/auth-endpoints.ts: createAppleNonce and signInWithAppleIdToken.
  • src/features/auth/apple-sign-in-button.tsx: new button, shown first in social-buttons.tsx.
  • docs/deploy.md: Apple Sign In setup notes (APPLE_APP_BUNDLE_IDS, white-label brands).

Test plan

  • typecheck, lint and prettier (pre-commit hook)
  • Build a new dev client and sign in on a real device with an Apple ID
  • Confirm the backend APPLE_APP_BUNDLE_IDS lists each bundle ID

🤖 Generated with Claude Code

Required by App Store guideline 4.8 since the app offers other social logins.
Uses the id_token grant on /api/auth/mobile/token with a hashed nonce.
@realcodesiman
realcodesiman merged commit 17c1129 into main Nov 13, 2026
1 check passed
@realcodesiman
realcodesiman deleted the feat/apple-sign-in branch November 13, 2026 08:27
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