Skip to content

LS Login: record the ECP_CLN entitlement values #46

Closed

Description

@uniqueg

Why?

proTES (#31), TESK (#35), Funnel (#20) and Krini (elixir-cloud-aai/krini#43) all authorize by membership in ECP_CLN or its subgroups, released by LS Login as entitlement values. Each of those issues says not to hardcode a guessed value. One authoritative record avoids four different guesses.

How?

  1. With a test member of ECP_CLN, of a subgroup (e.g. EOC-Compute) and of ECP_CLN:ADMIN, read the userinfo response (and the access token) for a client of the ELIXIR On-Cloud services.
  2. Record here, without tokens or personal identifiers:
    • the exact eduperson_entitlement values for ECP_CLN, a subgroup and ECP_CLN:ADMIN;
    • whether subgroup members also carry the parent ECP_CLN value;
    • whether the values are in the access token or only in the userinfo response.
  3. Link this record from the issues above.

Acceptance criteria

  • The values and the answers to the two questions are recorded here and linked from the dependent issues.

Activity

  1. added
    type: authRelated to authorization or authentication
    ecp-wp4: M4.4ELIXIR Compute Platform WP4 milestone/deliverable this issue contributes to
    on Nov 8, 2026
  2. uniqueg commented on Nov 15, 2026

    @uniqueg
    MemberAuthor

    The ECP_CLN entitlement values, as LS Login releases them (read live during the proTES deployment on 2026-11-12 and checked again on 2026-11-15 with a token of the Cloud Registry client; no tokens or personal identifiers here):

    • Claim: eduperson_entitlement, issuer https://login.aai.lifescience-ri.eu/oidc/.
    • Members of ECP_CLN (parent group): urn:geant:lifescience-ri.eu:group:elixir:ECP_CLN#aai.lifescience-ri.eu (expected form; not released in the check below)
    • Admins: urn:geant:lifescience-ri.eu:group:elixir:ECP_CLN:ADMIN#aai.lifescience-ri.eu
    • Subgroup, e.g. compute users: urn:geant:lifescience-ri.eu:group:elixir:ECP_CLN:EOC-Compute#aai.lifescience-ri.eu

    Each value also comes a second time from the ELIXIR Czech Perun, e.g. urn:geant:elixir-europe.org:group:elixir:ECP_CLN:EOC-Compute#perun.elixir-czech.cz (same for ADMIN). Rules should match the lifescience-ri.eu form and ignore the other one, or accept both explicitly.

    Answers to the two questions:

    • Do subgroup members also carry the parent ECP_CLN value? No. A member of EOC-Compute and ADMIN received both subgroup values, but not the parent ECP_CLN value. Services must therefore match the subgroup values themselves (or a prefix), not the parent group.
    • Where are the values? Userinfo only. The access token (a JWT) carries scope with eduperson_entitlement, but not the values; services have to call the userinfo endpoint (or introspection) to get them.

    LS Login releases a group only if it is assigned to a resource of the Perun facility of the client that issued the token. Membership alone isn't enough: a token from a client whose facility lacks the assignment carries none of these values, and services that map groups then answer 403.

    Use in ELIXIR On-Cloud: members of EOC-Compute and ADMIN may run tasks (proTES maps EOC-Compute to user and ADMIN to admin plus the task rules). Both groups are assigned to the facility of the portal's client (Krini), the frontend that starts tasks.

    Dependent issues: #31, #35, #20, elixir-cloud-aai/krini#43.

  3. uniqueg commented on Nov 15, 2026

    @uniqueg
    MemberAuthor

    Correction to my previous comment: whether the parent ECP_CLN value is released depends on the client, not on the group structure.

    A second check today, with a token of Krini's client, released the parent value urn:geant:lifescience-ri.eu:group:elixir:ECP_CLN#aai.lifescience-ri.eu next to ECP_CLN:EOC-Compute and ECP_CLN:ADMIN (and other ECP_CLN subgroups), each again also in the elixir-europe.org … #perun.elixir-czech.cz form. The token of the Cloud Registry client didn't carry the parent value. This matches the facility rule above: each client gets only the groups assigned to a resource of its own facility, and Krini's facility has the parent group assigned, the registry's doesn't.

    So, corrected answers:

    • Do subgroup members also carry the parent ECP_CLN value? Only if the parent group is assigned to the facility of the client that issued the token (Krini: yes; Cloud Registry: no). Services should therefore match the subgroup values they need (EOC-Compute, ADMIN), not the parent group.
    • Where are the values? Userinfo only, for both clients: the access token carries the eduperson_entitlement scope, but not the values.
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.4ELIXIR Compute Platform WP4 milestone/deliverable this issue contributes topriority: highHigh prioritytype: authRelated to authorization or authenticationworkload: hoursLikely takes hours to resolve

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions