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
security.auth.issuers accepts several trusted issuers, but access control identifies users by claim_identity (e.g. sub) alone (get_current_subject). sub is only unique per issuer (OIDC Core §2). With two trusted issuers, a user of issuer B whose sub equals that of a user of issuer A gets that user's roles and owned resources.
What?
When more than one issuer is trusted, namespace subjects by issuer, e.g. <iss>|<sub> or a configured prefix per issuer, consistently in policies, ownership records and get_current_subject().
Keep single-issuer deployments unchanged, so that existing records stay valid. Document how to migrate from one issuer to several.
Allow per-issuer settings where providers differ: the audience, the group claim, and optionally the user info claims.
Acceptance criteria
Equal sub values from different trusted issuers never map to the same subject.
Single-issuer apps behave as before.
Needed for UIs that offer several login providers (elixir-cloud-aai/cloud-registry-ui).
Activity