algolia
algolia copied to clipboard
Add parameter to use a secured API key instead of the global api key in the config
Is your feature request related to a problem? Please describe.
I have user restricted data in my indexes but the only way to access it is using a secured API key. But actually the searchClient is created via useAlgoliaRef() that use the global search key.
Describe the solution you'd like
I need a way to pass the apiKey to the useAlgoliaRef() composable