laravel/socialite
Laravel Socialite offers an expressive, fluent OAuth authentication interface for Laravel, supporting Bitbucket, Facebook, GitHub, GitLab, Google, LinkedIn, Slack, Twitch, and X while handling most social login boilerplate.
Architecture fit
Socialite facade that returns a normalized User DTO (id, nickname, name, email, avatar, token, refreshToken, expiresIn, approvedScopes). The package deliberately makes no persistence or identity decisions — schema, account linking, and session handling stay in our application. That is the right seam for us.config/services.php.Integration feasibility
composer require laravel/socialite, provider credentials in config/services.php/env, two routes (redirect + callback), a controller, and an identity-mapping layer. No package-supplied migrations.AbstractProvider subclass we own.Technical risk
Key questions
Stack fit
Migration path
social_accounts table (user_id, provider, provider_id, token, refresh_token, expires_at, timestamps) with a unique index on (provider, provider_id) rather than nullable columns on users. This supports multiple linked providers, unlinking, and revocation without a later rewrite.Compatibility
Sequencing
Maintenance
Support
Scaling
Failure modes
config:cache.Ramp-up
How can I help you explore Laravel packages today?