I have a simple Laravel application, in which a third party is redirecting to a route from an external source.
This external site hits a very simple logout controller at /saml/logout
<?php
namespace App\Http\Controllers\Saml;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Log;
class LogoutController extends Controller
{
/**
* Entry point for SAML logout.
* TODO: check if you need auth to go here.
*
* @param \Illuminate\Http\Request $request
*
* @return void
*/
public function logout(Request $request)
{
Log::info('Response:', (array) request());
Log::info('Response:', (array) $_REQUEST);
Log::info('Response:', (array) $_GET);
Log::info('Response:', (array) $_POST);
Log::info('Response:', (array) $request->method());
}
}
Here is the trace I can see:
So, according to this tracer its able to hit the URL and get a HTTP status of 200.
However, in my logs I get the following.
My question is, why am I getting nothing in my logs in regards to the request?
The only thing I can see that's slightly odd is that something called Sec-Fetch-Dest
is set to iframe.
An update given answers.
Using $request->all()
gives me nothing.
A further update