FreeOnboarding and sign in

Apple sign-in with guest mode

Sign in with Apple, or keep browsing as a guest.

Free
Free with a ShipSwift account.

Copies a short instruction with your private download link. Paste it into your agent: it downloads the whole skill (the source code, the setup steps and the mistakes we already made for you) and builds the screen.

Works with

+70

What it does

Provides anonymous-first authentication for iOS apps where users can start using core features immediately without creating an account. On first launch the app calls the backend, which does a Supabase anonymous sign-in — the user gets a *real*, cryptographically signed JWT (is_anonymous: true, role: authenticated) and a stable user id right away. Later the user can optionally Sign in with Apple, which is linked to the *same* Supabase user via linkIdentity — the user id never changes, so there is zero data migration. The backend uses Hono middleware with three access levels: public, identity-required (anonymous + authenticated), and auth-required (non-anonymous / linked only).

> Choosing between auth skills: This skill is for apps that let users try core features > without signing in first (e.g., utility apps, content apps, freemium tools) on a Supabase + > Cloudflare Workers stack. If you are on AWS (Cognito + App Runner), use > [auth-cognito-anonymous](skill://auth-cognito-anonymous) instead. The two skills are > deliberately structured the same way so you can read them side by side. The key difference: > Cognito Identity Pool assigns a *different* Identity ID to anonymous vs. authenticated > sessions, so signing in requires a POST /v1/auth/sync data-migration step; Supabase keeps > the same `user id` across linkIdentity, so linking Apple needs no migration at all.

What you get

  • ✓1,066 lines of source code, ready to paste
  • ✓Architecture
  • ✓Dependencies
  • ✓Implementation
  • ✓Integration Checklist
  • ✓Common Customizations
  • ✓Known Pitfalls
  • ✓Security Rules (do not skip)
authenticationSupabaseanonymousguestSign in with ApplelinkIdentityRLSJWTJWKSmiddlewareHonoCloudflare Workerszero-dependencydata migrationaccount deletiontoken revocationoffline

More in Onboarding and sign in

AI agent onboarding
Pro
Pick a side, choose a hiring style, meet your AI agent, then land on a home it has already filled.
Guided story intro
Pro
A guide walks you into the stories, learns your name, then you sign in with Apple.
Swipe-to-pick setup
Pro
Swipe to choose your pet, then tell us about them.
Three-page intro
Free
Three short pages: snap it, pack it, dress it.
Phone, Apple and Google sign-in
Free
Mobile number, Apple or Google, with a guest option.