Skip to content

FI: connect proTES to the FI TESK with its service token #111

Done

Description

@uniqueg

Why?

The FI TESK requires tokens since 2026-11-21 (#35, tesk.rahtiapp.fi), so proTES can't use it yet: proTES calls its backends with its own client credentials token (#31), which tesk-api accepts only for clients on its allow-list (elixir-cloud-aai/tesk-api#153, elixir-cloud-aai/TESK#296, released in tesk-api 2.0.0 and chart 0.4.0, which the FI TESK runs). This is the FI step only; it doesn't wait for the other Nodes (CZ #138, DE #126). Part of #108 (FI row).

How?

  1. Set proTES' client in the FI TESK's allow-list of token clients, with the issuer (https://login.aai.lifescience-ri.eu/oidc/) and the claim recorded in proTES: get client credentials tokens from LS Login #136. Keep the user-token settings of Enable LS Login on the ELIXIR On-Cloud TESK deployments #35 (only elixir:ECP_CLN:EOC-Compute and elixir:ECP_CLN:ADMIN may run tasks).
  2. Set https://tesk.rahtiapp.fi in proTES' backends with auth: client_credentials and proTES' issuer for client credentials (chore: configure proTES for ELIXIR On-Cloud #31 step 4), and run proTES' integration check against it (a task that completes, one that fails, one cancelled).
  3. Check that a direct request with proTES' token is accepted, and that a user token still is too.
  4. Record the configuration here and in chore: configure proTES for ELIXIR On-Cloud #31 (no secrets).

Rollback: remove the FI TESK from proTES' backends again; the TESK keeps requiring tokens.

The old host csc-tesk-noauth.rahtiapp.fi is switched off in #137, which doesn't wait for this issue.

Acceptance criteria

  • Tasks sent to proTES run on the FI TESK with proTES' service token; the integration check passes.

Dependencies: #136 (proTES' client credentials token). The token step used to be step 1 here; it moved to #136 because every Node needs it.


Part of the ELIXIR Compute Platform WP4 sprint (M&Ds due end of December 2026).

Activity

  1. added
    status: blocked
    priority: high
    workload: hours
    ecp-wp4: M4.4
    on Nov 12, 2026
  2. changed the title [-]Connect proTES to the FI TESK with its service token[/-] [+]FI: connect proTES to the FI TESK with its service token[/+] on Nov 23, 2026
  3. added
    type: delivery
    and removed on Nov 23, 2026
  4. added
    status: on hold
    and removed
    status: blocked
    on Nov 24, 2026
  5. uniqueg commented on Nov 26, 2026

    @uniqueg
    MemberAuthor

    Done on 2026-11-26. The FI TESK (release tesk, revision 6) accepts tokens of proTES service client 7c0c1fc0-e8ca-47d6-a9b2-bdc843961146 (D-392). That client token can neither read, list nor cancel user tasks (403; 0 of 5 visible). proTES (revision 12, later 13) sends tasks to https://tesk.rahtiapp.fi with client_credentials. The integration check (tests/integration/check.sh at protes d91cd22) passed through proTES, with a user token, for a task that finishes, one that fails, one cancelled while running and one cancelled right away. The old host csc-tesk-noauth.rahtiapp.fi is no longer a backend.

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 holdtype: deliveryworkload: hours

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions