Download the PHP package lauroguedes/laravel-sso without Composer
On this page you can find all versions of the php package lauroguedes/laravel-sso. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lauroguedes/laravel-sso
More information about lauroguedes/laravel-sso
Files in lauroguedes/laravel-sso
Package laravel-sso
Short Description A self-hosted OpenID Connect provider. Register your applications, and sign in to all of them with one account.
License MIT
Homepage https://laravel-sso.lauroguedes.dev
Informations about the package laravel-sso
Register your applications, and sign in to all of them with one account. [](https://laravel.com) [](https://php.net) [](https://inertiajs.com/) [](https://vuejs.org/) [](https://pestphp.com)
[](https://packagist.org/packages/lauroguedes/laravel-sso) [](https://packagist.org/packages/lauroguedes/laravel-sso) [](LICENSE)
[](https://github.com/lauroguedes/laravel-sso/actions/workflows/ci.yml) [](https://forge.laravel.com/lauro-guedes-q58/graceful-silence-fzg/3378928)
Run your own identity provider. Your people get one account and one sign-in page. Your applications get standard OpenID Connect and never see a password.
Applications connect with any client library. Nothing on the other end has to be Laravel, or PHP.
It is deliberately smaller and easier to read than Keycloak: a Laravel application you can clone, configure, deploy and own completely.
Features
- OAuth 2.0: authorization code with PKCE, refresh tokens, client credentials.
- OpenID Connect: discovery, published key set, ID Tokens, UserInfo, introspection, revocation, RP-initiated logout.
- Applications: registered in the interface, each with its own credentials, redirect URIs and scopes. Secrets hashed, redirect URIs matched exactly.
- Per-application roles: every application defines its own, and its tokens carry the ones its users hold there. One application never learns about another.
- Users: password reset, two-factor authentication, passkeys, email verification.
- Delegation: a Developer role that hands somebody one application without handing them the server.
- Sessions and audit trail: every session and token revocable. Who did what, from where, and when.
- Themeable: brand, palette and layout changed from the interface, or pinned through the environment.
Quick start
Or clone it:
sso:install generates the signing keys, seeds the platform roles, offers to
create your first administrator, and prints the endpoints your applications
need. It is safe to run again.
Want something to look at? See it running at laravel-sso.lauroguedes.dev, or seed your own copy:
Connecting an application
Register it, then hand its developer the issuer and the credentials:
| Issuer | https://auth.example.com |
| Discovery | https://auth.example.com/.well-known/openid-configuration |
| Client ID | shown on the application's page |
| Client secret | shown once, at creation |
Most libraries need only the issuer. They read the rest from the discovery document.
Documentation
Full documentation ships with the server and is served from it at /docs:
installation, configuration, administration, integration, security and the
architecture. Anyone signed in can read it, and on a public demo so can every
visitor. Read it online at
laravel-sso.lauroguedes.dev/docs.
Tests
Formatting, lint, front-end types, Pint, PHPStan level 7 and the test suite.
Requirements
PHP 8.3+, Node 20.19+ or 22.12+, and SQLite, MySQL, MariaDB or PostgreSQL.
Contributing
Issues and pull requests are welcome. Every change carries a test, and
composer ci:check has to pass. See the
contributing guide.
Licence
MIT.
If this is useful to you, please star the repository.
It is the thing that helps other people find it.
⭐ Star this project · ☕ Buy me a coffee
Crafted by an Artisan ♥ Lauro Guedes
All versions of laravel-sso with dependencies
inertiajs/inertia-laravel Version ^3.0
laravel/chisel Version ^0.1.0
laravel/fortify Version ^1.37.2
laravel/framework Version ^13.17
laravel/passport Version ^13.0
laravel/tinker Version ^3.0
laravel/wayfinder Version ^0.1.14
lauroguedes/laravel-demo-mode Version ^1.5
petebishwhip/laradocs Version ^1.1
spatie/laravel-activitylog Version ^5.1
spatie/laravel-permission Version ^8.0