-
Notifications
You must be signed in to change notification settings - Fork 7
Implement Sign In with Apple
Thanks for choosing EasyFirebase! π Follow these steps to implement Apple Sign-In into your iOS or macOS project.
Enable Sign In with Apple for your app on the Certificates, Identifiers & Profiles page of Apple's developer site.
If you use any of Firebase Authentication's features that send emails to users, including email link sign-in, email address verification, account change revocation, and others, configure the Apple private email relay service and register noreply@YOUR_FIREBASE_PROJECT_ID.firebaseapp.com
(or your customized email template domain) so Apple can relay emails sent by Firebase Authentication to anonymized Apple email addresses.
Go to your Firebase Console. Select the Authentication tab, then Sign-in Method. Click Add new provider, then choose Apple.
If you need to, copy the authorization callback URL. Then click Save.
Open your Project, then navigate to Signing + Capabilities. Choose your app's target, then click the + button to add the Sign in with Apple capability.
signInWithApple()
from an Apple-provided Sign In with Apple button. For more information on how to add this into your iOS/macOS project, see this developer article.
You can then sign in with Apple easily using EasyAuth
's static method:
EasyAuth.signInWithApple()
EasyFirebase Wiki
β Installation
π Get Started with EasyAuth
π₯ Get Started with EasyFirestore
π Implement Sign In with Google
π Implement Sign In with Apple
π Using the Example Project
π Flowductive Website