Skip to content

feat: limit exposure of tokens and backend URLs #366

Closed
1 of 1 issue completed
Closed

Description

@uniqueg

Design questions from the pre-release review of 0.4.0 (low findings), not needed for 0.4.0; the docs now describe the current behaviour (see the docs findings issue).

  1. One token for all instances of a registry. Registry entries default to auth: client_credentials, and the token is cached per issuer, client and scope, without a per-instance audience: any registry-verified TES instance can replay it at the others, including the operator's own. Options: per-backend audience or resource (RFC 8707) tokens, or no default auth for registry entries (explicit opt-in).
  2. Backend URLs in the public service info. GET /service-info (unauthenticated) lists every TES instance. The only opt-out (runtime_fields: null) also hides gateway. Option: a setting to hide backends while keeping gateway (may need a FOCA option).
  3. Silent default routing. With several TES instances and the default pipeline, all tasks go to the first one. Option: a startup warning (or info) when several backends are configured and only foca.routing.ordered runs. Depends on the pending decision on the default routing.

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. added
    priority: low
    status flag: discuss
    status: triage
    type: security
    workload: days
    on Oct 31, 2026
  2. modified the milestones: v1.0.0-rc1, v0.5.0 on Nov 1, 2026
  3. uniqueg commented on Nov 3, 2026

    @uniqueg
    MemberAuthor

    Split up, as the three points need different things:

    1. One token for all instances of a registry: moved to feat: request backend-specific access tokens #397 (milestone v0.6.0), as it goes with token exchange.
    2. Backend URLs in the public service info: feat: hide TES backends in the service info #396 (milestone v0.5.0), whose PR also closes this issue.
    3. Silent default routing: moot. Since fix: make third-party lookups opt-in #385, the default is random routing, so tasks no longer all go to the first TES instance by default.
  4. added
    status: in progress
    and removed
    status: triage
    on Nov 3, 2026
  5. removed
    status: in progress
    on Nov 3, 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

    priority: lowstatus flag: discusstype: securityworkload: days

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions