Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(insights-plugin): prevent authenticated token being set as the userToken #1291

Merged
merged 3 commits into from
Dec 9, 2024

Conversation

shaejaz
Copy link
Contributor

@shaejaz shaejaz commented Nov 29, 2024

Summary
The authenticated user token from insights should no longer be used as the userToken for the search API. This PR removes all listeners and usage of authenticatedUserToken in the insights plugin.

Does the same thing as its parallel for instantsearch: algolia/instantsearch#6443

FX-3159

Copy link

codesandbox-ci bot commented Nov 29, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 0e70cd4:

Sandbox Source
@algolia/autocomplete-example-github-repositories-custom-plugin Configuration
@algolia/autocomplete-example-instantsearch Configuration
@algolia/autocomplete-example-playground Configuration
@algolia/autocomplete-example-preview-panel-in-modal Configuration
@algolia/autocomplete-example-starter-algolia Configuration
@algolia/autocomplete-example-starter Configuration
@algolia/autocomplete-example-reshape Configuration
@algolia/autocomplete-example-vue Configuration

@shaejaz shaejaz marked this pull request as ready for review November 29, 2024 16:19
@dhayab dhayab merged commit 08e9cd0 into next Dec 9, 2024
10 checks passed
@dhayab dhayab deleted the fix/remove-auth-token branch December 9, 2024 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants