User Manual

awaBerry | Sign In with Apple

Intermediate screen that initiates the Apple OAuth sign-in flow.

Sign In with Apple

Summary

This is an intermediate transit screen shown while the app initiates the Apple OAuth flow via Supabase. A loading spinner and "Redirecting to Apple…" text are displayed. If initiation fails, an error message and a "Back to login" button appear. On success the system auth redirects through Apple back to the app automatically.

Page Functionalities

  • Loading state — CircularProgressIndicator and "Redirecting to Apple…" text.
  • "Back to login" TextButton (loading state) — Cancel and return to the originating route.
  • Error state — Error icon plus "Sign in with Apple failed. Please try again." message.
  • "Back to login" ElevatedButton (error state) — Returns to the originating route; also triggered automatically after 3 seconds.

Scenarios

Successful Apple sign-in initiation

  1. Click "Sign in with Apple" on the Login or Register screen.
  2. This screen appears briefly showing a spinner.
  3. The system auth UI (or browser) redirects to Apple's sign-in flow.
  4. After authorising, the app session is established and you are forwarded to the home screen.

Sign-in initiation fails

  1. An error message is displayed.
  2. After 3 seconds the app navigates back automatically, or click Back to login.