socialite-development

Manage OAuth social authentication with Laravel Socialite providers.

Updated Mar 31, 2026
One-click install
npx skills add https://github.com/JoeyMckenzie/website --skill socialite-development
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: socialite-development
Source: https://github.com/JoeyMckenzie/website/tree/main/.claude/skills/socialite-development
Command: npx skills add https://github.com/JoeyMckenzie/website --skill socialite-development

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

OAuth social authentication for Laravel applications, simplifying the process of adding social login providers, handling redirects and callbacks, and retrieving user details.

Core Features & Use Cases

  • Add built-in and community providers
  • Configure client_id, client_secret, and redirect in config/services.php
  • Create redirect and callback routes to authenticate users
  • Retrieve user details and manage tokens, scopes, and stateless flows
  • Test with Socialite fakes to simulate login flows

Quick Start

Configure a Socialite provider by adding client_id, client_secret, and redirect to config/services.php, then implement redirect and callback routes to authenticate users.

Frequently Asked Questions about socialite-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add OAuth social login providers to a Laravel application?

To add OAuth social login providers in Laravel, configure client_id, client_secret, and redirect in config/services.php, then implement redirect and callback routes to authenticate users via Socialite.

What is the best way to retrieve user details after a Socialite OAuth callback?

Retrieving user details after a Socialite OAuth callback involves handling the callback route to receive the authenticated user object, managing tokens, scopes, and optional stateless flows for the returned data.

Does Laravel Socialite support community-provided OAuth providers?

Yes, Socialite supports adding both built-in and community providers, allowing you to extend OAuth social authentication beyond default options by configuring the necessary provider credentials.

How do I test OAuth social login flows in Laravel?

You can test OAuth social login flows in Laravel by using Socialite fakes to simulate login processes, allowing you to verify redirect and callback logic without making actual external provider requests.

Do I need specific routes configured for Laravel Socialite authentication?

Yes, Laravel Socialite authentication requires dedicated routes for redirecting users to the provider and handling the user callback to complete the OAuth login process and retrieve details.