Skip to content

Make service-info public by default, configurable #216

Closed

Description

@uniqueg

Why

GET /service-info lets registries and clients show what a service offers and how to get access. That only works without a token if the endpoint is public, so it should be public by default. Deployers can have good reasons against that, so it should also be configurable.

What TESK does today

Read from the code; not run against a live deployment. This is about tesk-api, image elixircloud/tesk-api:1.1.0 in the master chart.

  • auth.mode defaults to noauth, where all endpoints are open.
  • With auth.mode: auth, service-info is on a hard-coded allow list, and every other route needs a token.
  • So it is public in both modes, which is the right default, but a deployer cannot require a token for it.
  • auth.md says all endpoints are secured when authentication is on, which does not match the allow list.

Acceptance criteria

  • GET /service-info answers without a token by default, also when authentication is on for the other routes.
  • A documented setting lets deployers require a token for GET /service-info, exposed through the Helm chart.
  • Tests cover both settings, with and without a token.
  • The deployment and authentication docs describe the default and the setting.

Activity

  1. added
    priority: medium
    status: triage
    type: auth
    type: feature
    workload: hours
    on Nov 5, 2026
  2. removed
    status: triage
    on Nov 6, 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: mediumtype: authtype: featureworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions