nerdzlab/socialite-apple-sign-in
A Laravel Socialite provider that adds Sign in with Apple support, handling Apple's client secret generation, token exchange, and user profile parsing so you can drop Apple login into any existing Socialite flow with minimal configuration.
.p8 key, POSTing to Apple's token endpoint, validating the id_token, and handling the "user data returned only on first consent" quirk. This package collapses that into Socialite configuration. The build option only wins if we have requirements it can't meet (see below).name and email only on the very first authorization, and email may be an @privaterelay.appleid.com relay address. This drives schema and onboarding decisions (nullable display name, prompt-for-profile fallback, treating relay addresses as deliverable mail).Adopt when:
Look elsewhere / build or wrap when:
.p8 keys usually exceed what a thin driver exposes./auth/revoke and /auth/token endpoints — verify support before committing; a driver that only does login may leave account-deletion compliance (another App Store requirement) to us.Mitigation regardless: wrap the provider behind our own auth adapter interface so swapping to custom code is a contained change, pin to ~2.2, and cover the callback plus private-relay-email path with tests.
For executives: Shipping social login on iOS without "Sign in with Apple" risks App Store rejection, and this package is the small, low-cost way to close that gap on our Laravel backend instead of spending engineering weeks implementing Apple's cryptographic token flow ourselves. It's a maintenance-sized dependency, not a platform commitment. The trade-off is one more third-party package to track, mitigated by pinning the version and keeping our integration thin enough to replace.
For engineering: It's a Socialite driver for Apple — config plus a callback route, no bespoke crypto. The 2.2.2 release is a low-risk patch (fixes headers being passed by reference) with no breaking changes or config changes, so upgrading from 2.2.1 is safe. Adopt it behind our own auth adapter, pin ~2.2, and add integration coverage for the callback and the first-consent-only profile/relay-email behavior, since that's where the real integration risk sits — not in this patch.
How can I help you explore Laravel packages today?