Description
Bartender serves you a controller, routes, and a default implementation for handling authentication with Laravel Socialite providers.
Direct your user to the /auth/{driver}/redirect route to authenticate with the given driver:
<a href="{{ route('auth.driver.redirect', 'google') }}"> Login with Google</a> <a href="{{ route('auth.driver.redirect', 'microsoft') }}"> Login with Microsoft</a>
Once the user successfully authenticates, they will be redirected to the /auth/{driver}/callback route, which will automatically create or update their application user account.
Recent Courses on Laravel Daily
[NEW] NativePHP Mobile v4 with SuperNative: Mini-Course
5 lessons
18 min
Marketing for Developers in 2026
7 lessons
52 min
Next.js Basics for Laravel Developers
11 lessons
58 min