diff -r c175d505e40d -r 4a1e6952afe5 web/callback.php --- a/web/callback.php Tue Oct 22 10:01:37 2024 +0200 +++ b/web/callback.php Thu Nov 07 22:38:14 2024 +0100 @@ -68,7 +68,8 @@ 'code' => $_GET['code'], 'scope' => 'read write push', ]]); - $token_ent = json_decode($token_resp->getBody(), true); + $body = $token_resp->getBody(); + $token_ent = json_decode($body, true); $_SESSION['SOCIAL_ACCESS_TOKEN'] = serialize($token_ent['access_token']); $_SESSION['SOCIAL_AUTH_STATE'] = null;