Skip to content

feat(auth): add explicit OIDC account linking and group-to-role mapping #296

Closed

Description

@RentnerKev

Problem / motivation

OIDC authentication needs a deliberate local account and authorization policy so a matching email or unexpected group claim cannot grant access.

Scope and acceptance

  • Bind external identities by provider/issuer and subject with explicit, verified account-linking rules.
  • Define controlled provisioning, disabled-user behavior, unlinking and provider-removal behavior without bypassing existing account protections.
  • Add explicit group-to-role mappings and a least-privilege default; never grant ownership automatically.
  • Specify session re-evaluation after role/account/provider changes and an explicit policy for local MFA versus identity-provider assurance.
  • Audit linking, provisioning and role changes while preserving a tested local owner recovery path.

Verification

Test email-collision and takeover attempts, changed/missing groups, removed permissions, disabled users, concurrent linking, owner protections and migration/backup recovery.

Run relevant normal unit, integration, Docker and short recovery checks. Duration runs belong to release preparation or an explicit owner request.

Dependencies

Activity

  1. added this to the v1.0.0-beta.3 milestone on Oct 25, 2026
  2. added
    enhancement
    area: auth
    area: database
    on Oct 25, 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

    area: autharea: databaseenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions