jeffersongoncalves/laravel-sso-client
Laravel SSO Client offers a simple way to add single sign-on authentication to Laravel apps, handling login flows, user provisioning, and session management with configurable SSO providers.
laravel-sso-server as the identity provider and this package as the client, rather than standing up a generic OIDC/SAML integration. Worth pricing against the cost of a bespoke integration plus ongoing security maintenance.email_verified enforcement change is a security decision, not a feature: linking a local account to an SSO identity by email is an account-takeover vector if the IdP will assert unverified addresses. The new behavior defaults safely and preserves 1.0 behavior for servers that don't send the claim — so it's an upgrade you can ship without a security review cycle, but you should still document the policy for customers who control their own IdP.Adopt when most of the following hold:
laravel-sso-server 1.1+ as the identity provider. This is a paired client for a specific server package, not a generic OIDC/SAML client — that coupling is the single biggest adoption criterion.Look elsewhere when:
Migration cost to flag in planning: the upgrade requires adding 'logout' => '/sso/logout' to endpoints and post_logout_redirect_uri in published configs, and changing logout buttons from GET/links to a POST to sso-client.logout. There's a known transitional edge case: users who signed in before the upgrade have no stored token and will be logged out locally only — plan release notes so support isn't surprised. Also note SSO_POST_LOGOUT_REDIRECT_URI must be same-origin as the redirect URI, which constrains where you can land users post-logout (marketing site vs. app).
For executives: We get enterprise-grade "log out everywhere" behavior without building it. When a user signs out, the identity provider ends the session and signs them out of every connected app — the thing security reviewers ask about in procurement. It also closes an account-takeover gap by only linking existing accounts to SSO when the identity provider has actually verified the email address. Cost is a small, well-understood upgrade: one config entry and a logout-button change, tested against PHP 8.4 / Laravel 13 on all three major databases, including interop tests against the server. Framed commercially: this removes a recurring blocker in enterprise deals and shared-device deployments, and it's the last major gap before we can talk credibly about provisioning as the next identity investment.
For engineering: Small surface area, safe defaults, no forced breaking change. email_verified enforcement only tightens behavior when the server sends the claim — servers that don't send it retain 1.0 behavior, so it's opt-in in practice. Federated logout is a CSRF-protected POST route; the work is (a) add the two config keys if you've published the config, (b) switch logout UI from links to form POSTs, (c) confirm the post-logout redirect URI is same-origin. Pre-upgrade sessions degrade gracefully to local-only logout rather than erroring. There are also Boost guidelines and a sso-client-development skill shipped in resources/boost to speed agent-assisted work on this integration.
How can I help you explore Laravel packages today?