1. Go to this page and download the library: Download tkhamez/eve-sso 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/ */
tkhamez / eve-sso example snippets
// Initiate provider object
// (if you do not provide all optional URLs this will make a request to the metadata URL to
// get them).
try {
$provider = new Eve\Sso\AuthenticationProvider(
[
// 'urlAuthorize' => 'https://login.eveonline.com/v2/oauth/authorize',
'urlAccessToken' => 'https://login.eveonline.com/v2/oauth/token',
'urlRevoke' => 'https://login.eveonline.com/v2/oauth/revoke',
'urlKeySet' => 'https://login.eveonline.com/oauth/jwks',
'issuer' => 'https://login.eveonline.com',
'urlMetadata' => 'https://login.eveonline.com/.well-known/oauth-authorization-server',
],
// Add all