PHP code example of dm-laravel-admin-ext / sso
1. Go to this page and download the library: Download dm-laravel-admin-ext/sso library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
dm-laravel-admin-ext / sso example snippets
protected $middlewareGroups = [
'web' => [
...
// sso
\DM\SSO\Http\Middleware\SSOLoginWithTicket::class,
],
$url = SSOController::loginTo($app_id);