hyperdxio / hyperdxio/hyperdx

Login fails

Open
#1,526 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.