Skip to content

OIDC-only mode: disable local login, admin-group claim, pre-first-boot setup #942

Closed

Description

@fclairamb

From a user comment on the feddit.org project post (https://feddit.org/post/38184275, comment https://feddit.org/comment/16144435, 2026-11-18):

Automatische Benutzererstellung via SSO wäre super, ebenfalls die Möglichkeit lokalen Login komplett abzuschalten. Vielleicht vor dem ersten Start OIDC-Daten eingeben und den lokalen Login deaktivieren können. Mit einem 'admin-group-claim' könnte eine Admin-Gruppe vom SSO Provider festgelegt werden, sodass OIDC-only möglich wäre.

What already exists: generic OIDC login with auto-provisioning (findOrCreateUser in server/internal/handlers/auth/oidc_service.go — first SSO login creates the user), plus SAML/LDAP configs and claim mapping for email/name/avatar.

What is missing (the actual request):

  1. A way to disable local password login entirely (OIDC-only instance).
  2. An admin-group claim mapping: an IdP group claim grants super-admin/org-admin, so administration works without any local account.
  3. Configuring OIDC before/at first boot so the instance can start OIDC-only (today the first boot seeds a local admin with the public default password).

Source: https://feddit.org/comment/16144435

Activity

  1. added
    converted-to-spec
    on Nov 21, 2026
  2. fclairamb commented on Nov 21, 2026

    @fclairamb
    OwnerAuthor

    Converted to a spec: specs/todos/2026-11-21-02-oidc-only-mode.md (opus/high), why: authorization scope (an IdP claim granting super admin), new system parameters and a startup-seeding change. Not implemented yet: closing because the spec now tracks it.

  3. fclairamb commented on Nov 21, 2026

    @fclairamb
    OwnerAuthor

    autopilot: in #966

  4. added 2 commits that reference this issue on Nov 21, 2026
    4b04e9c
    1b51f89
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

    autopilotconverted-to-spec

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions