socialite-development

Configure OAuth providers and routes for Laravel Socialite login.

3|2|Updated Nov 4, 2025
One-click install
npx skills add https://github.com/y-l-g/saasterkit --skill socialite-development-y-l-g
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: socialite-development
Source: https://github.com/y-l-g/saasterkit/tree/main/.agents/skills/socialite-development
Command: npx skills add https://github.com/y-l-g/saasterkit --skill socialite-development-y-l-g

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Simplifies adding social login providers to Laravel applications by standardizing OAuth flows, provider configuration, and user data retrieval.

Core Features & Use Cases

  • Configure providers in config/services.php and set up redirect and callback routes.
  • Retrieve or create and login users from provider data, handling multiple providers and scopes.
  • Test social login flows using Socialite fake and community providers to ensure end-to-end reliability.

Quick Start

Configure a new provider in config/services.php, create the redirect and callback routes, and implement user creation and login in the callback to enable social login.

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 to my Laravel application?

Add OAuth social login to Laravel by configuring providers in config/services.php with client_id, client_secret, and redirect URLs, then create redirect and callback routes to handle user authentication.

Can I use Socialite with community providers or only built-in ones?

Socialite supports both built-in and community providers, allowing you to configure OAuth flows, retrieve user data, and set optional scopes across multiple social login services.

How do I handle user creation and login from OAuth provider data in Laravel?

Handle user creation and login from OAuth provider data by implementing logic in your callback route to retrieve existing users or create new ones based on the provider data returned.

Does Laravel Socialite support stateless authentication for APIs?

Socialite supports stateless operation for API contexts, enabling OAuth social login integration without relying on session state during the authentication flow.

How do I test OAuth social login flows in Laravel?

Test OAuth social login flows using Socialite fake to mock provider responses, ensuring your redirect routes, callback logic, and user creation processes work reliably end-to-end.