Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Laravel Auth Sso

Laravel Auth Sso Laravel Package

ctbuh/laravel-auth-sso

A Laravel package that adds single sign-on authentication to your application. It integrates SSO login with Laravel's auth system so users can sign in through a central identity provider, simplifying access management across related apps.

View on GitHub
Deep Wiki
Context7

Universal Auth Provider for Laravel

Frequently asked questions about Laravel Auth Sso
What is ctbuh/laravel-auth-sso and what does it do?
ctbuh/laravel-auth-sso is a Laravel package that adds single sign-on authentication through a central identity provider. It plugs SSO login into Laravel's auth system so users can sign in once and access related applications. The package is described as a universal login provider for simplifying access management across apps.
How do I install ctbuh/laravel-auth-sso in a Laravel application?
Install it with Composer using composer require ctbuh/laravel-auth-sso from your Laravel project root. Then follow the repository README for any service provider registration, config publishing, or environment variables. The supplied excerpt does not list exact install steps, so treat the README as the source of truth.
How does this package integrate with Laravel's built-in authentication?
The package is intended to integrate SSO login with Laravel's built-in auth system rather than replace it. That means authenticated SSO users should flow through Laravel's normal auth state, guards, and session handling. Check the README for the exact guard, middleware, and route setup.
Which Laravel versions does ctbuh/laravel-auth-sso support?
The provided overview and excerpt do not specify supported Laravel versions. Check the package's composer.json require constraints and README for the definitive Laravel and PHP version support. Test against your application's Laravel version before adopting it.
How do I configure the central identity provider for SSO login?
Configuration depends on your central identity provider and the package's own config file. The supplied excerpt does not include specific keys, but you should expect to set IdP endpoints, client credentials, and a callback or redirect URL. Consult the README for the exact environment variables and publishable config.
Can I use this package to share login across multiple Laravel applications?
The package's stated goal is simplifying access management across related apps through a central identity provider. In practice, shared login across multiple Laravel apps usually requires registering each app with the IdP and configuring its own callback URL. Confirm multi-app behavior and any tenant settings in the package documentation.
How should I test SSO login locally and in automated tests?
For local and automated tests, avoid calling the real identity provider and instead fake or mock the SSO responses. Use Laravel's testing helpers to assert auth state, redirects, and session behavior. If the package ships testing utilities or config overrides, use those as documented in the README.
What production concerns should I review before deploying this SSO package?
Before production, secure client secrets in environment variables, enforce HTTPS, and register exact callback URLs with the IdP. Plan for IdP outages, session and cookie settings, and how SSO users are matched to local accounts. Also review logging and error handling so failed logins are diagnosable without leaking secrets.
Does it handle user provisioning, roles, and logout or session management?
The overview only confirms SSO login integration with Laravel's auth system; it does not document user provisioning, roles, or logout behavior. Whether users are auto-created or matched by email depends on the package and your IdP claims. Review the README and test logout and session invalidation in staging.
How does ctbuh/laravel-auth-sso compare to Laravel Socialite or other SSO options?
Alternatives include Laravel Socialite for OAuth-based providers, dedicated SAML or OpenID Connect packages, or a custom Laravel guard around your identity provider. The right choice depends on whether your central provider uses SAML, OIDC, or OAuth2 and how much user provisioning you need. Before adopting this package, check the GitHub repository and Packagist for recent releases, open issues, and maintenance activity.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin