Pular para o conteúdo
← Voltar para projetos

Filament Sso Server

Filament plugin to manage clients and active sessions of jeffersongoncalves/laravel-sso-server

Versão: v3 v4 v5 · branch: 3.x

Filament SSO Server

#Filament SSO Server

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads License

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-char client_secret are 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.

Nova versão disponível.