PHP code example of aptika / sso-gorontalo

1. Go to this page and download the library: Download aptika/sso-gorontalo 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/ */

    

aptika / sso-gorontalo example snippets


   'providers' => [
       // ...
       Aptika\SsoGorontalo\Providers\SSOServiceProvider::class,
   ],
   

   return [
       // ...
       Aptika\SsoGorontalo\Providers\SSOServiceProvider::class,
   ];
   

   Auth::logout();
   // Tambahkan fungsi di bawah ini saat melakukan logout
   return redirect(config('aptika-sso.logout_url') . '?redirect=' . route(config('aptika-sso.route-login')));
   
bash
   php artisan vendor:publish --provider="Aptika\SsoGorontalo\Providers\SSOServiceProvider" --tag=config
   
bash
   php artisan serve --port=8001
   
bash
composer dump-autoload