Repository navigation
Description
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?
- 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 (onlyelixir:ECP_CLN:EOC-Computeandelixir:ECP_CLN:ADMINmay run tasks). - Set
https://tesk.rahtiapp.fiin proTES' backends withauth: client_credentialsand 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). - Check that a direct request with proTES' token is accepted, and that a user token still is too.
- 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).
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
[-]Connect proTES to the FI TESK with its service token[/-][+]FI: connect proTES to the FI TESK with its service token[/+]uniqueg commentedon Nov 26, 2026
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.