Skip to content

feat!: remove LS Login values from examples #115

Done

Description

@uniqueg

Problem

Krini's login is provider-agnostic (LOGIN_PROVIDERS), but its examples, docs and image are written for LS Login:

  • public/ls-login-grey-wide.jpg ships in the image, and scripts/check-image.sh uses it to check that the image serves optimized images (/_next/image?url=%2Fls-login-grey-wide.jpg…).
  • .env.example: an LS Login provider (id ls-login, name LS Login, logo /ls-login-grey-wide.jpg, issuer https://login.aai.lifescience-ri.eu/oidc/, groupsClaim eduperson_entitlement, scopes without offline_access, although the docs say to include it), and possibly a deployment-specific CLOUD_REGISTRY_URL.
  • docs/operator-guide/configuration.md: the same provider, and CLOUD_REGISTRY_URL=https://registry.elixir-cloud.dev.
  • docs/operator-guide/login.md: LS Login in the intro, in the field table (id ls-login, the LS Login issuer, /ls-login-grey-wide.jpg, eduperson_entitlement for scopes and groupsClaim), the "Example for LS Login", and the section "Registering Krini with LS Login" (incl. how LS Login releases eduperson_entitlement).
  • docs/operator-guide/deployment.md: the LS Login provider in the krini.env example, "e.g. eduperson_entitlement of LS Login", and links to login.md#registering-krini-with-ls-login.
  • docs/operator-guide/index.md (requirements: "e.g. LS Login", quick start links), docs/operator-guide/helm-chart.md (link), docs/operator-guide/upgrading.md (LS Login issuer as example value, link), docs/user-guide/index.md ("log in with LS Login"), docs/index.md and README.md ("LS Login for the … deployment").
  • Comments in deployment/values.yaml and deployment/templates/_helpers.tpl name one hosting provider's cluster as the example of clusters that reject RuntimeDefault.

Expected

  • The image ships no identity provider's logo: public/ls-login-grey-wide.jpg is removed, and scripts/check-image.sh checks image optimization with an asset of Krini's own (e.g. its logo). Provider logos are https URLs (already supported).

  • .env.example and all docs use one generic, clearly fictitious provider, the same everywhere, e.g.:

    LOGIN_PROVIDERS=[{"id":"example-login","name":"Example Login","logo":"https://login.example.org/logo.png","issuer":"https://login.example.org/oidc/","clientId":"<client ID>","clientSecret":"<client secret>","scopes":["openid","profile","email","groups","offline_access"],"groupsClaim":"groups","computeGroups":["krini-compute"],"adminGroups":["krini-admins"]}]

    and CLOUD_REGISTRY_URL=https://registry.example.org/ga4gh/registry/v1. The scopes of .env.example match what the docs require (openid, offline_access, and the scope that releases the groups, if the provider needs one).

  • "Registering Krini with LS Login" becomes "Registering Krini with a login provider": the client settings that every provider needs (flow, PKCE, client_secret_post, redirect and post-logout URIs, scopes, JWT access tokens), plus a short, generic note that some providers release groups only with a specific scope or claim (e.g. eduperson_entitlement in eduPerson-based federations) and that groupsClaim names that claim. All links to the old anchor are updated.

  • The login docs state in one place that the providers, groupsClaim, computeGroups, adminGroups and COMPUTE_ACCESS_REQUEST_URL are deployment configuration without provider-specific defaults, and that provider-specific guides belong to deployment-specific documentation.

  • The user guide says "log in with your deployment's login provider"; README and docs/index.md no longer name a specific provider for a specific deployment.

  • upgrading.md keeps the old setting names (e.g. LS_LOGIN_URL), which are real, but uses generic example values; it gets a note for this change: deployments that used /ls-login-grey-wide.jpg as logo set an https URL instead.

  • The chart comments describe the cluster behaviour generically (e.g. "some OpenShift clusters reject RuntimeDefault").

  • The example block in configuration.md still shows exactly the settings of .env.example, as its text says.

Overlaps with open PR #114 (.env.example, configuration.md): start after it merges.

Activity

  1. added
    priority: medium
    type flag: breaking change
    type: docs
    workload: hours
    status: triage
    on Nov 19, 2026
  2. self-assigned this
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: mediumstatus: triagetype flag: breaking changetype: docsworkload: hours

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions