PHP code example of openeuropa / oe_auth

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

    

openeuropa / oe_auth example snippets


$config['cas.settings']['server']['hostname'] = 'authentication';
$config['cas.settings']['server']['port'] = '7002';
$config['cas.settings']['server']['path'] = '/cas';
$config['oe_authentication.settings']['register_path'] = 'register';
$config['oe_authentication.settings']['validation_path'] = 'TicketValidationService';

$config['cas.settings']['server']['verify'] = '2';

$config['cas.settings']['proxy']['initialize'] = TRUE;
bash
echo "127.0.1.1       authentication" >> /etc/hosts