Shaun Keating

Results 4 comments of 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. ![image](https://github.com/laravel/octane/assets/2048674/bc63fcd7-5ed0-4eba-8e1c-0e7a5958890a) ![image](https://github.com/laravel/octane/assets/2048674/05bfcc0e-3068-4de2-87db-907787b450e4)