Skip to content

Funnel: LS Login bearer auth and ECP_CLN group-based authorization on ELIXIR On-Cloud deployments #20

Open

Description

@uniqueg

Why?

This is step 7 of the plan. It is desirable, but not required for M4.4: proTES can keep using service credentials downstream (elixir-cloud-aai/protes#201). Since the TES services do the actual work, they should eventually authenticate users and authorize them by group membership.

Note: Funnel has moved to https://github.com/calypr/funnel (the old ohsu-comp-bio/funnel now only redirects docs). The maintainers are reachable via our Slack.

Current upstream state (calypr/funnel):

  • Authentication: OIDC exists (server/auth_oidc.go; config Server.OidcAuth: ServiceConfigURL, ClientId / ClientSecret, RequireScope, RequireAudience, Admins). TaskAccess: Owner / OwnerOrAdmin provides per-owner visibility.
  • Authorization by group membership: not supported, as far as a grep shows. There is no group or entitlement check.

Authorization policy (agreed). Users must be members of the LS Login (Perun) group ECP_CLN (organization ELIXIR, "ELIXIR Compute Platform group for cloud apps") or any of its subgroups. The subgroups are currently ADMIN, BioHackCloud, BioHackCloud Admins, ELIXIR-CH, ELIXIR-CZ, ELIXIR-DE, ELIXIR-FI, ELIXIR-GR, ELIXIR-NL and OSS, plus the new EOC-Compute for approved compute users (elixir-cloud-aai/krini#45, #49; exact values in #46). Membership is managed as LS Login VO groups and released to services as entitlement values, typically in the eduperson_entitlement claim.

Do not hardcode a guessed string. Take the exact value(s) from the userinfo response or token of a test member; expect something like urn:geant:lifescience-ri.eu:group:<vo>:ECP_CLN…#…. Also check whether subgroup members carry the parent ECP_CLN entitlement. If they don't, accept ECP_CLN plus anything under ECP_CLN: by prefix. Note too whether the claim appears in the access token or only via userinfo, since that determines whether a userinfo lookup is needed.

How?

  1. Upstream feature: propose an optional required-entitlement check to Funnel, i.e., a config list of accepted values or prefixes plus the claim name. Include a userinfo lookup if the entitlements aren't in the access token. Open the upstream issue or PR and link it here.
  2. Deployment config: per Funnel deployment, enable OidcAuth against LS Login, set TaskAccess: Owner, enable the group check once available, and verify that proTES-forwarded tokens are accepted (proTES: validate LS Login bearer tokens and define how downstream TES credentials are handled protes#201 option b):

Acceptance criteria

  • An upstream issue or PR for group-based authorization exists, and is merged or has an agreed path.
  • Every Funnel deployment in the checklist accepts tokens of ECP_CLN members only, and rejects unauthenticated requests.

Dependencies: none. Relates to elixir-cloud-aai/protes#201.


Part of the ELIXIR Compute Platform WP4 sprint (M&Ds due end of December 2026).
If you want to work on this issue:

  • Assign yourself (if someone is already assigned, ask them first or pick another one)
  • Move the issue to "In progress" on the project board
  • Start working 🚀

Activity

  1. added
    priority: low
    type: auth
    workload: weeks
    ecp-wp4: M4.4
    topic: funnel
    on Oct 14, 2026
  2. added
    flag: nice to have
    on Nov 8, 2026
  3. moved this from Ready to Backlog in ELIXIR On-Cloudon Nov 8, 2026
  4. uniqueg commented on Nov 11, 2026

    @uniqueg
    MemberAuthor

    Upstream issues posted 2026-11-11:

  5. added
    status: triage
    and removed on Nov 13, 2026
  6. moved this from Backlog to Nice to have in ELIXIR On-Cloudon Nov 17, 2026
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.4flag: nice to havepriority: lowstatus: triagetopic: funneltype: authworkload: weeks

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions