Shaun Keating
Shaun Keating
A great and simple feature would to serve a json response as well, this could easily be monitored by other applications and services.
@Sly1024 thanks so much for writing that up it was really helpful. I was thoroughly confused trying to achieve the same usecase.
I've just run into this issue too. Relevant code is in `vendor/laravel/scout/src/EngineManager.php` `defaultAlgoliaHeaders()` method but it never gets executed. Scout docs https://laravel.com/docs/10.x/scout#identifying-users
@gazzoy in your demo app you aren't returning the user inside your Route::bind() closure. I think this could be the cause of your issue? Let me know.  