Open renanbr opened 12 months ago
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
Does anyone know a workaround for the issue?
Does anyone know a workaround for the issue?
We override the EngineManager with a housemade class overriding the createAlgoliaDriver()
method.
This approach made us able to fix scout.algolia.*_timeout
configuration as well.
Description
Algolia analytics dashboard doesn't recognise user searches because the application doesn't send the
X-Algolia-UserToken
header when performing searches even when configuringSCOUT_IDENTIFY
env var to true.Steps To Reproduce
scout.identify
configuration is true