SSOfy can be used to retrieve user information from the resource server if the servers or applications are different. (i.e. Microservice)
use SSOfy\Client;
use SSOfy\Models\APIResponse;
...
$client = new Client($config);
/**
* @var APIResponse $result
*/
$result = $client->authenticatedUser('TOKEN');