Skip to content

Conquest: validate LS Login bearer tokens on the WES API #18

Open
6 of 7 issues completed
Open

Description

@uniqueg

Why?

Conquest will be one of the WES backends of the Krini portal (elixir-cloud-aai/krini#42). Its public WES API (internal/api/wes/) currently has no authentication: auth_instructions_url in service-info is the only auth-related code. Exposing a workflow runner on Kubernetes without auth is not acceptable for an ELIXIR-facing deployment (#27).

Upstream repo: https://github.com/anuragxxd/conquest. It is tracked here because it lives outside the org. Upstream contact: @anuragxxd.

How?

  1. Add optional OIDC resource-server middleware on the WES routes. Configure it by env, in line with Conquest's existing CONQUEST_* config in internal/config/config.go:
    • issuer, from which JWKS is discovered;
    • audience, optional;
    • required scopes, optional;
    • principal claim, defaulting to sub.
  2. Record the principal as run owner and filter list and get by owner.
  3. Leave the internal TES API (used only by runner pods) unaffected, or protect it with an internal mechanism. It must not require user tokens.
  4. Expose the settings in the Helm chart (deploy/charts/conquest).
  5. Open the upstream issue or PR and link it here.

Acceptance criteria

  • With auth enabled, WES endpoints reject missing or invalid tokens with 401 and accept LS Login tokens.
  • Runs are owner-scoped.
  • Workflows still execute; internal TES calls are unaffected.

Dependencies: none. Needed by elixir-cloud-aai/krini#44 and #27.


Part of the ELIXIR Compute Platform WP4 sprint (M&Ds due end of December 2026).
If you want to work on this issue:

  • Assign yourself (if someone is already assigned, ask them first or pick another one)
  • Move the issue to "In progress" on the project board
  • Start working 🚀

Sub-issues

Sub-issues

6 of 7 Issues completed
Loading 7 sub-issues

Activity

  1. added
    priority: high
    type: auth
    workload: days
    ecp-wp4: M4.4
    topic: conquest
    on Oct 14, 2026
  2. moved this from Ready to Backlog in ELIXIR On-Cloudon Nov 16, 2026
  3. added
    status: triage
    status: on hold
    and removed
    status: triage
    on Nov 16, 2026
  4. moved this from Backlog to Ready in ELIXIR On-Cloudon Nov 17, 2026
  5. moved this from Ready to Backlog in ELIXIR On-Cloudon Nov 18, 2026
  6. added a commit that references this issue on Nov 25, 2026
  7. added a commit that references this issue on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ecp-wp4: M4.4priority: highstatus: on holdtopic: conquesttype: authworkload: days

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions