Solved:
$request = $client->createPresignedRequest(...);
// uri is a guzzle uri object
$uri = $request->getUri();
// cast $uri as string
redirect((string)$uri);
You have to explicitly cast the $uri as string. Otherwise you get a Location header for each property of the $uri object, the __toString() method doesn't get called.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community