friendship ended with social-app. php is my new best friend

does this. help

Changed files
+2
+2
index.php
···
} else if (isset($_GET['code'])) {
// https://smallbird.social/login?iss=https%3A%2F%2Fshimaenaga.veryroundbird.house&code=cod-3a80b9095e871dc4bc2391f876cc234abefcbb66ca65e8a381e99095b8899b0e
$token = $provider->getAccessToken($_GET['code'], null);
+
print_r($token);
$storage = new SessionStorage($options);
$storage->storeAccessToken($token, $name);
+
echo 'get access token:';
print_r($storage->getAccessToken($name));
header('Location: https://'.SITE_DOMAIN);
die(1);