1. Go to this page and download the library: Download ijodkor/one-id 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/ */
ijodkor / one-id example snippets
/*
|--------------------------------------------------------------------------
| OneId Integration
|--------------------------------------------------------------------------
| This is the OneId package
|
*/
'one_id_sso_url' => env('ONE_ID_SSO_URL'),
'one_id_client_id' => env('ONE_ID_CLIENT_ID'),
'one_id_client_secret' => env('ONE_ID_CLIENT_SECRET'),
'one_id_client_scope' => env('ONE_ID_CLIENT_SCOPE'),