
Description
react-apple-signin-auth is a React component for Sign in with Apple, built on Apple's official JavaScript SDK. To use it, you need an Apple Developer Program account, an App ID and a Service ID, and a private key generated for the Service ID, all set up in your Apple Developer account. The README links a blog post and Apple's documentation for the setup steps. The package ships CommonJS and ESM builds with proper exports, so it works with bundlers such as Vite, webpack and Rollup, and with Next.js and Node ESM. TypeScript types are included. The README shows a quick start, and it warns that the onSuccess response includes the user object only on the first sign-in attempt for an account. A helper called appleAuthHelpers is also exported for using the Apple flow from plain JavaScript or other frameworks, but you load Apple's script yourself in that case. For verifying tokens on a server, the README points to a separate Node library. It suits React sites that offer Apple login as one of their sign-in options.…
Highlights
- Sign in with Apple button for React
- Built on Apple's JavaScript SDK
- appleAuthHelpers for plain JavaScript
- CJS and ESM builds with TypeScript types
- Server verification through a separate library
Ratings & Reviews
No ratings yet
Be the first to rate react-apple-signin-auth.
People also visit
react-apple-signin-auth FAQ
What is react-apple-signin-auth?
A React component that adds Sign in with Apple, using Apple's official JavaScript SDK.
What do I need from Apple first?
The README lists an Apple Developer Program account, an App ID, a Service ID and a private key for the Service ID.
Do I always get the user's details?
No. The README says the user object is returned only on the first sign-in attempt for an account.
Can I verify the login on my server?
The README points to a separate library, apple-signin-auth, for server-side JWT verification.
What are the best react-apple-signin-auth alternatives?
Popular alternatives to react-apple-signin-auth include @react-oauth/google, @trigger.dev/companyicons and react-native-marketingcloudsdk. See all react-apple-signin-auth alternatives













