The scenario
A laboratory operates inside a partner network whose hospital system already holds every staff member's identity: accounts, credentials, and a role model the partner administers daily. When the lab adopts jengu, its technicians should not receive a second username and password to lose, and its administrators should not maintain a second user directory that drifts from the first.
Instead, the organisation's connector to that partner system — the same connector jengu already trusts for orders and results — carries one more capability: delegated authentication. A technician clicking "sign in" is sent through the partner's own OIDC login; on return, jengu binds the authenticated subject to the pre-provisioned practitioner record, grants exactly the roles the connector's declared mapping table names for the partner's custom roles, and issues its own ordinary session. When someone leaves the partner organisation, their next jengu login simply fails at the partner — no jengu-side offboarding step to forget.
What must hold
- The platform stays the session authority. The partner is consulted at the login ceremony only; partner tokens never become jengu sessions, and every isolation mechanism that keeps customers apart sees an ordinary jengu session.
- Roles map through a declared table, deny-by-default. A partner role the table doesn't name grants nothing — an authenticated user can hold zero jengu roles.
- Binding is to pre-provisioned practitioners by external identifier; an unknown subject gets no session.
- Delegation is never the only door. A partner outage removes the delegated option; local login is untouched (the local org:admin exists before the connector by construction).
- Tokens are verified properly — issuer, audience, nonce, signature against the authority's published keys; a token from anywhere else is rejected.
Why it matters
Every second credential is an adoption barrier at rollout and a liability at offboarding. Delegating to the identity system the partner already runs — through the connector relationship that already exists contractually and technically — removes both, without jengu ever holding or proxying the partner's credentials.