Skip to content

Add parameter to use a secured API key instead of the global api key in the configΒ #207

@Splinteer

Description

@Splinteer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions