Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

socialite-development

Skill by MineTrax

Guides an AI assistant through adding OAuth social login to a Laravel app with Laravel Socialite. It is for Laravel developers who need login with providers such as Google, GitHub or Slack.

  • Score 80
  • 118 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install socialite-development

Built from the published package, never by AI.

git clone --depth 1 https://github.com/MineTrax/minetrax /tmp/minetrax && mkdir -p ~/.claude/skills && cp -r /tmp/minetrax/.claude/skills/socialite-development ~/.claude/skills/socialite-development

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install socialite-development in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Socialite-development is an agent skill for adding OAuth social authentication to a Laravel application with Laravel Socialite. It covers built-in providers such as Google, GitHub, Slack, LinkedIn and Twitch, and points to community providers listed at socialiteproviders.com. The skill describes the main steps: adding the provider to config/services.php, creating redirect and callback routes, and using updateOrCreate with Auth::login() to store the authenticated user.

The skill also covers customizing scopes, passing optional redirect parameters, stateless authentication for API and SPA contexts, and testing with Socialite::fake(). It tells the assistant to use search-docs for full code examples. It is aimed at Laravel developers who need social login, OAuth or third-party authentication.

Written from the project's SKILL.md and checked against it.

What it can do

  • Provider setupConfigures built-in and community OAuth providers in config/services.php.
  • Redirect and callback routesCreates routes that call Socialite's redirect and user methods.
  • User storageFinds or creates a user from provider data and logs them in with Auth::login().
  • Redirect customizationAdjusts scopes, passes optional parameters and enables stateless authentication.
  • Slack bot tokensUses asBotUser() to request a Slack bot token instead of a user token.
  • Socialite testingTests redirects and callbacks with Socialite::fake().

What you need

  • A Laravel application
  • Composer, for installing community providers
  • OAuth client_id and client_secret from each provider
  • A redirect URL registered in the provider's OAuth dashboard

Try asking

  • Add Google login to my Laravel app using Socialite.
  • Create a GitHub callback route that creates or updates the user.
  • Write a Socialite::fake() test for my Slack login callback.

Good to know

  • Community providers must be registered through the SocialiteWasCalled event listener.
  • Missing stateless() in API or SPA contexts causes InvalidStateException.
  • Reserved parameters such as state and client_id cannot be passed through with().
  • The legacy twitter driver uses OAuth 1.0.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/socialite-development/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md5 KB

Alternatives to socialite-development

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

socialite-development: common questions

Are community Socialite providers registered automatically?

No. The source says they must be registered via an event listener and are not auto-discovered like built-in providers.

Why does Socialite throw InvalidStateException in an API or SPA?

The source says a missing stateless() call in API or SPA contexts causes this error.

Which Twitter or X driver should I use?

The source says to use twitter-oauth-2 for new projects. The legacy twitter driver is OAuth 1.0.

How do I install socialite-development?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is socialite-development free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is socialite-development safe to use?

It scores 80 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to socialite-development?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

socialite-development Install

Add to stack

Loading.