zaman-tech / sso
sso authentication & controller & manager
Installs: 1 056
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^8.2
- illuminate/contracts: ^11.0
This package is auto-updated.
Last update: 2025-04-05 06:03:26 UTC
README
sso for accounts.engenesis.com
Installation
Run the following command to install the latest applicable version of the package:
composer require zaman-tech/sso
Setup:
add this lines to your .env file:
ENGENESES_APP_ID=app_id ENGENESIS_APP_SECRET=app_secret ENGENESIS_APP_URL=app_url
publish config package:
php artisan vendor:publish --tag=zaman-tech-config
Use:
use ZamanTech\Sso\Http\Controllers\SsoController;
$sso = new SsoController($validated['code']);
$content = $sso->getContent();
$userDetails = $sso->getUserDetails();
$userInfo = $sso->getUserInfo();
License
Package is open-sourced software licensed under the MIT license.