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): guard against user token override while auth token is set #1237

Merged
merged 2 commits into from
Jan 24, 2024

Conversation

dhayab
Copy link
Member

@dhayab dhayab commented Jan 18, 2024

Summary

Follow-up for #1233 to ensure the Insights plugin still sends the authenticated user token with search requests if users mistakingly update the (regular/unauthenticated) user token before removing the authenticated user token.

@dhayab dhayab requested review from a team, sarahdayan and aymeric-giraudet and removed request for a team January 18, 2024 09:48
Copy link

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 b917a3d:

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-react-renderer Configuration
@algolia/autocomplete-example-starter-algolia Configuration
@algolia/autocomplete-example-starter Configuration
@algolia/autocomplete-example-reshape Configuration
@algolia/autocomplete-example-vue Configuration

@dhayab dhayab merged commit 190e562 into next Jan 24, 2024
9 checks passed
@dhayab dhayab deleted the fix/insights-usertoken-override-guard branch January 24, 2024 14:06
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.

None yet

2 participants