Deutsch · English
← All projects

MacOIDCLogin

Mac sign-in with OpenID Connect

MacOIDCLogin extends the macOS login window: users sign in to the Mac with the account of their identity provider, using OpenID Connect (OIDC).

The project is aimed at administrators who manage Macs in an organization and want to tie sign-in to a central account without binding the devices to a directory service.

Components

Features

How sign-in works

  1. The plugin reads the settings distributed by profile and checks that they are complete.
  2. The user signs in in the identity provider's web dialog.
  3. The returned identity is verified and mapped to the local user name.
  4. If enabled and needed, the local user account is created.
  5. macOS continues the sign-in and opens the user's session.

If required settings such as the client ID or discovery address are missing, the plugin stops with a configuration error instead of connecting to a preset provider.

Setup

  1. Enter and check your identity provider's details in the configurator.
  2. Export the configuration profile and distribute it to the Macs via MDM.
  3. Install the signed installer package on a test Mac or in a virtual machine first.
  4. Restart and test sign-in, account creation, local sign-in and resetting.
  5. Only then distribute it to further devices.
Important: The installation changes the macOS login flow. Before the first change, the installer package backs up the original configuration; an included script restores it. Even so, the package belongs on a test device first.

Requirements

macOSOIDCMDM