Skip to content

docs: send access tokens in the TES tutorials #134

Closed

Description

@uniqueg

Why?

The TES tutorials (interactive services on TES, the OMOP stack on TESK, the TES hub) use an open TES instance by default (TES_URL) and send no Authorization header. ELIXIR On-Cloud TES instances are moving to token access: from then on, every request of the scripts gets 401, and readers don't learn where to get a token.

How?

  • In every script and command of docs/tutorials/tes-services/ (interactive_services_tes.md, interactive_services_tes_commands.md, tes-hub/tes-service.sh, omop-tesk/omop-tesk-fi.sh), send Authorization: Bearer $TES_TOKEN when TES_TOKEN is set, and fail early with a clear message when the TES answers 401 or 403.
  • Keep the token out of the command line and the shell history (read it from the environment or with a hidden prompt), and never write it to files or logs.
  • Explain where users get a token (LS Login, with membership in the ELIXIR On-Cloud compute group), how long it lives, and what 401 and 403 mean.
  • Update the default TES_URL and the table of variables to the instance's new address, once it is known.
  • Remove the notes that the default instance is unauthenticated.
  • Run each script once against a TES with tokens and note the result in the PR.

Acceptance criteria

  • All tutorial scripts work against a TES that requires tokens, with TES_TOKEN set, and fail clearly without it.
  • The tutorials say how to get a token.

Activity

  1. added
    priority: high
    status: triage
    type: docs
    workload: hours
    on Nov 12, 2026
  2. moved this from Backlog to Ready in ELIXIR On-Cloudon Nov 12, 2026
  3. added
    status: in progress
    and removed
    status: triage
    on Nov 12, 2026
  4. self-assigned this
    on Nov 12, 2026
  5. moved this from Ready to In progress in ELIXIR On-Cloudon Nov 12, 2026
  6. moved this from In progress to In review in ELIXIR On-Cloudon Nov 13, 2026
  7. moved this from In review to Done in ELIXIR On-Cloudon Nov 13, 2026
  8. removed
    status: in progress
    on Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: hightype: docsworkload: hours

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions