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
AI Agents/IDEs for Laravel: May 2026 (Claude Code, Codex, OpenCode, etc)
7 lessons
52 min
Testing in Laravel 13 For Beginners
26 lessons
1 h 41 min read
Laravel 13 Eloquent: Expert Level
41 lessons
1 h 34 min