You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
proTES: get client credentials tokens from LS Login #136
proTES calls every TES backend with its own client credentials token (#31), and the backends accept it by its client (#108). LS Login has to allow the client credentials grant for proTES' client (#47) first. That is the only step that every Node's proTES connection shares (FI #111, CZ #138, DE #126), so it lives here and not in one Node's issue: each Node's connection waits for this issue and for its own TES, never for another Node. Part of #108.
Get one token and record here its claims that matter, without the token: iss, client_id, azp, aud, sub, the typ header, lifetime. Name the claim and value that the TES backends match proTES' client by.
Check that proTES on Rahti gets tokens with its client credentials (Secret in its namespace, no secrets here).
Acceptance criteria
proTES obtains access tokens with the client credentials grant, and the claims the backends check are recorded here.
Dependencies: LS Login (external): the production approval and the grant. #135 (smoke-test client) waits for the same approval.
Part of the ELIXIR Compute Platform WP4 sprint (M&Ds due end of December 2026).
Step 2: claims of proTES' client credentials token (one token from LS Login with HTTP Basic, as proTES asks for it; no token or secret recorded anywhere):
7c0c1fc0-e8ca-47d6-a9b2-bdc843961146 (a service token, no user)
aud
7c0c1fc0-e8ca-47d6-a9b2-bdc843961146 (the client's own ID; no resource or audience requested)
scope
entitlements openid eduperson_entitlement
Lifetime
3600 s
Proposed matching (to be confirmed in the TESK auth design): the TES backends recognise proTES' client by iss = https://login.aai.lifescience-ri.eu/oidc/ together with client_id = 7c0c1fc0-e8ca-47d6-a9b2-bdc843961146 (sub holds the same value). A backend that checks the audience has to accept aud = proTES' own client ID for this client, because LS Login doesn't put the backend into aud.
Step 3: proTES on Rahti gets tokens with its client credentials. proTES 0.6.0 (Helm revision 10) has its client ID in PROTES_CLIENT_ID and the secret from the Secret protes-tes-credentials (key client-secret) in its namespace, for the app and the worker, and LS Login as issuer in custom.tes.client_credentials. In both pods, proTES' own token code (TokenProvider, with the pods' config and environment) got a token with the claims above. Its backends are unchanged, so no task uses the token yet: the FI TESK gets it in #111, CZ in #138, DE in #126.
Activity
uniqueg commentedon Nov 24, 2026
Steps 2 and 3 are done (2026-11-24).
Step 2: claims of proTES' client credentials token (one token from LS Login with HTTP Basic, as proTES asks for it; no token or secret recorded anywhere):
typheader,algat+jwt,RS256isshttps://login.aai.lifescience-ri.eu/oidc/client_id7c0c1fc0-e8ca-47d6-a9b2-bdc843961146azpsub7c0c1fc0-e8ca-47d6-a9b2-bdc843961146(a service token, no user)aud7c0c1fc0-e8ca-47d6-a9b2-bdc843961146(the client's own ID; no resource or audience requested)scopeentitlements openid eduperson_entitlementProposed matching (to be confirmed in the TESK auth design): the TES backends recognise proTES' client by
iss=https://login.aai.lifescience-ri.eu/oidc/together withclient_id=7c0c1fc0-e8ca-47d6-a9b2-bdc843961146(subholds the same value). A backend that checks the audience has to acceptaud= proTES' own client ID for this client, because LS Login doesn't put the backend intoaud.Step 3: proTES on Rahti gets tokens with its client credentials. proTES 0.6.0 (Helm revision 10) has its client ID in
PROTES_CLIENT_IDand the secret from the Secretprotes-tes-credentials(keyclient-secret) in its namespace, for the app and the worker, and LS Login as issuer incustom.tes.client_credentials. In both pods, proTES' own token code (TokenProvider, with the pods' config and environment) got a token with the claims above. Its backends are unchanged, so no task uses the token yet: the FI TESK gets it in #111, CZ in #138, DE in #126.Closing, as the acceptance criterion is met.