talira

sign_in_with_apple

Flutter bridge to initiate Sign in with Apple on iOS, macOS, and Android

open sourceMITfree

sign_in_with_apple is a Flutter plugin for Sign in with Apple on iOS, macOS, Android and the web. It shows Apple's sign-in button, gets an Apple ID credential with the email and full name scopes, and can read credentials saved in the user's keychain. Your server then has to verify the credential with Apple, create a session and check it daily with the refresh token; its README walks through the Apple Developer setup and links an example server. ABOUT YOU maintains it with its other Dart packages.

Problems it solves

  • add Sign in with Apple to my Flutter app before App Store review
  • let Android users of my Flutter app log in with their Apple ID
  • get the user's email from Apple sign-in in Flutter and send it to my backend

Features

  • Sign in with Apple button and Apple ID credentials with email and full name scopes
  • reads credentials saved in the user's keychain
  • iOS, macOS, Android and web
  • a step-by-step Apple Developer setup guide and an example server in the README

Limitations

  • Needs a paid Apple Developer Program membership1
  • Credentials must be verified with Apple by your own server, which the plugin doesn't provide1

Alternatives

The same job

These do what sign_in_with_apple does.

  1. flutter_facebook_auth Facebook Login for Flutter on mobile, web and desktop

Compare sign_in_with_apple with the top 3