algolia / algolia/algoliasearch-client-javascript

discussion: very long secured api-keys cause problems while searching

Open
#1,035 26 comments 4 reactions 0 assignees View on GitHub
investigate
Dominant language
TypeScript
Stars
1.4k
Forks
227
PR merge metrics
No merged PRs in 30d

Description

We use very long secured API keys, which works fine with the 3.x version of the package but version 4.x breaks this, as the key seems to be appended to the URL regardless how long it is. It basically reintroduces this: #319. I think version 4 should also sent long api keys via the POST body.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the long secured API-key search with the version 4.x client and compare its request behavior with 3.x. Review how the client builds requests for searches; the issue is done when long keys are sent in the POST body instead of being appended to the URL.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.