jeffersongoncalves / filament-sso-server
Filament plugin to manage clients and active sessions of jeffersongoncalves/laravel-sso-server
Package info
github.com/jeffersongoncalves/filament-sso-server
pkg:composer/jeffersongoncalves/filament-sso-server
Requires
- php: ^8.2
- filament/filament: ^5.0
- jeffersongoncalves/laravel-sso-server: ^1.1
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- larastan/larastan: ^3.0
- laravel/pint: ^1.21
- orchestra/testbench: ^10.0|^11.0
- pestphp/pest: ^3.7.4|^4.0
- pestphp/pest-plugin-laravel: ^3.0|^4.0
- pestphp/pest-plugin-livewire: ^3.0|^4.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Filament SSO Server
Filament admin UI for jeffersongoncalves/laravel-sso-server: register SSO client apps, rotate their secrets, and watch or revoke the sessions they hold, all from your panel.
Features
- SSO clients: create, edit, activate/deactivate and delete client apps.
client_id(UUID) and a 64-charclient_secretare generated server-side and the secret is shown once in a notification. - Secret rotation: one click, from the table or the edit page. The old secret stops working immediately.
- Active sessions: list every issued access token with its client, user (
sub) and expiry, filtered by client or validity. - Revoke: delete one session (the token stops validating on
/userinfo) or log a user out everywhere, which revokes all their sessions and fires the Single Logout webhooks. - Overview widget: active clients, live sessions and distinct connected users, refreshed every 30s.
- Translations: English and Brazilian Portuguese.
Compatibility
| Package Version | Filament Version |
|---|---|
| 1.x | 3.x |
| 2.x | 4.x |
| 3.x | 5.x |
Installation
Install and set up laravel-sso-server first (migrations and signing keys), then install the plugin via composer:
composer require jeffersongoncalves/filament-sso-server:"^3.0"
Usage
Register the plugin in your panel provider:
use JeffersonGoncalves\Filament\SsoServer\SsoServerPlugin; public function panel(Panel $panel): Panel { return $panel ->plugins([ SsoServerPlugin::make(), ]); }
Options
SsoServerPlugin::make() ->navigationGroup('Authentication') // default: "SSO Server" (translated) ->clientResource(false) // hide the SSO clients resource ->sessionResource(false) // hide the sessions resource ->overviewWidget(false); // don't add the stats widget to the dashboard
Translations
Publish the translations to customize labels:
php artisan vendor:publish --tag="filament-sso-server-translations"
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
