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(instantsearch.js): prevent authenticated token being set as the userToken #6443

Merged
merged 10 commits into from
Dec 9, 2024

Conversation

shaejaz
Copy link
Contributor

@shaejaz shaejaz commented Nov 19, 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 middleware.

FX-3159

Copy link

codesandbox-ci bot commented Nov 19, 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.

@shaejaz shaejaz marked this pull request as ready for review November 19, 2024 17:27
Copy link
Contributor

@Haroenv Haroenv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great, thanks!

@Haroenv
Copy link
Contributor

Haroenv commented Nov 20, 2024

@shaejaz, best not to merge this right now yet as we may be needing a hotfix during code freeze and then I'd rather not have this change in it yet

@shaejaz
Copy link
Contributor Author

shaejaz commented Nov 20, 2024

@Haroenv makes sense 👍. Should I label this with 'do not merge' ?

@Haroenv Haroenv added the 🚨 DO NOT MERGE for a pull request that is ready to review, but should not be merged yet label Nov 20, 2024
Copy link
Member

@francoischalifour francoischalifour left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@dhayab dhayab removed the 🚨 DO NOT MERGE for a pull request that is ready to review, but should not be merged yet label Dec 9, 2024
@dhayab dhayab merged commit 2f1f397 into master Dec 9, 2024
15 checks passed
@dhayab dhayab deleted the fix/remove-auth-token branch December 9, 2024 09:22
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