Login fails
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 9.9k
- Forks
- 471
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 117
Description
Out setup: self-hosted hyperdx running in docker-compose:
clickstack:
container_name: clickstack
image: clickhouse/clickstack-all-in-one:latest
ports:
- "8887:8887"
environment:
CLICKHOUSE_ENDPOINT: ${CLICKSTACK_CLICKHOUSE_ENDPOINT}
HYPERDX_APP_PORT: 8887
HYPERDX_APP_URL: ${HYPERDX_APP_URL}
FRONTEND_URL: ${HYPERDX_APP_URL}
HYPERDX_APP_URL is https://hyperdx.(our host).com
The domain is behind cloudflare
The problem is that while POST api/login/password responds 204, it DOES NOT sends Set-Cookie header, and following requests are result in 401
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the login flow with the shown docker-compose service and the POST api/login/password endpoint behind Cloudflare. Inspect why the 204 response omits Set-Cookie and verify that subsequent authenticated requests no longer return 401. Done means login establishes the expected cookie and following requests succeed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker-compose, typescript
- Domain
- api, authentication
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100