Prior to integrating Sign in with Apple, make sure you configure Apple as a login method in your
dashboard. Make sure your app’s
Bundle ID
rather than the Service ID
, is configured as the Client ID
within the Privy Dashboard.Installing the Apple Authentication module
expo-apple-authentication
using its built-in config plugin if you use config plugins.
In your app.json
config file:
- Set the
ios.usesAppleSignIn
property totrue
. - Add
"expo-apple-authentication"
to theplugins
array.
Initializing the login flow
With Privy’s Expo SDK, you can use'apple'
just as any other OAuth provider.
Using the web based flow instead of the native flow
Privy will automatically fallback to the web-based flow on Android devices, where native Apple
sign-in isn’t supported.