$user->id, 'token' => hash('sha256', Str::random(50)) ]); return $this->returnContent([ 'data' => $SSOToken->token, ]); } }