sso authentication & controller & manager

Installs: 1 322

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/zaman-tech/sso

v1.0.3 2025-02-05 04:44 UTC

This package is auto-updated.

Last update: 2025-12-05 07:44:28 UTC


README

sso for accounts.engenesis.com

PHP Version Require Total Downloads License Github All Releases

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.