Skip to main content

Configure Platform SSO during Mac Automated Device Enrollment

Use Platform Single Sign-On (Platform SSO) with FileWave 17.0 to connect a Mac’s local user account to an identity provider (IdP) as part of Automated Device Enrollment (ADE). Choose the flow based on who will be at the Mac during Setup Assistant:

Flow FileWave 17.0 support When the user signs in
Attended macOS 26 or later The user signs in to the IdP during Setup Assistant. The local account is created from that identity during enrollment.
Unattended macOS 27 or later The Mac is prepared without a user present. It reaches the login window with a managed administrator account; the first regular user account is created on demand at sign-in.

If you want to register an already-enrolled Mac with Microsoft Entra ID, use Microsoft Enterprise Platform Single Sign-on for macOS instead. Editing an ADE profile changes the next enrollment; it does not retrofit devices already enrolled.

Prepare the Mac, package, and profile

  1. Start with one authorized test Mac assigned to your FileWave MDM server in Apple Business Manager or Apple School Manager. Confirm it appears in Central and that you can assign an ADE profile to that Mac only. See Working with Apple’s Automated Device Enrollment. Use a Mac intended for setup; do not erase an in-use device to try these steps.
  2. Confirm the Mac can resolve and reach the FileWave Server by its public hostname and that macOS trusts its TLS certificate during Setup Assistant. A certificate trusted only through the FileWave MDM CA is not sufficient for these requests. Confirm the intended user is permitted to register a device with your IdP.
  3. Using FileWave Central on macOS, import your IdP’s signed, notarized SSO extension installer as a package Fileset. It must install the extension app in /Applications. Examples are Microsoft Company Portal for Entra ID and the UniOslo Weblogin extension for Keycloak. Use the package and configuration instructions for your provider; importing the PKG from Windows may omit metadata needed during enrollment.
  4. In the FileWave profile editor, create a macOS profile Fileset with Single Sign-On Extensions. Use the extension identifier, team identifier, Redirect type, URLs, authentication method, and token-to-local-user mapping specified for your extension. For the unattended flow, enable Use Shared Device Keys and Enable Create User At Login for on-demand accounts. FileWave supplies the enrollment-time registration and first-user setup keys for the chosen mode; do not add a second profile to set those keys.
  5. Save the profile and package Filesets. Review pending model changes and update the model so both Filesets and the intended PKG revision are available in the ADE editor. Prepare a dedicated test ADE profile rather than changing a shared production profile.

Attended: authenticate during Setup Assistant

  1. Register FileWave’s enrollment callback as a redirect URI on the IdP client. Use your actual FileWave Server hostname. The documented callback is https://<your-filewave-server>:20445/auth/login_psso_enrollment_redirect. Register this as a Web redirect URI for an Entra app registration or a Valid redirect URI for the Keycloak client. This is the callback to register with the IdP; FileWave generates the authentication URL it sends to the Mac.
  2. In FileWave Anywhere → Identity Providers, configure the IdP used for device enrollment (Is Used For Device Enrollment). Use the provider’s domain and client ID. For a confidential Entra client, configure the client secret and leave Ignore Client Secret for PSSO off. For a public Keycloak client using UniOslo Weblogin, use the provider’s public-client settings (client authentication off, PKCE S256) and turn that option on. It omits the secret for Platform SSO registration only; it is not a general instruction to remove the secret or disable authentication. Do not add a separate FileWave basic-authentication prompt in front of ADE for this flow.
  3. In Central, open the test ADE profile, select Platform SSO → Enable Platform SSO, and choose PSSO during Automated Device Enrollment. Select the SSO profile, SSO package, and intended package revision. Save, assign the ADE profile to the test Mac, and synchronize the assignment before starting Setup Assistant.
  4. Verify: The user should see the intended IdP during Setup Assistant. Sign in with the test user and confirm that setup finishes, the local account corresponds to that user, and a subsequent Mac sign-in and an app covered by the SSO extension work as intended. A device record in Central proves enrollment, not successful SSO.

Unattended: prepare the Mac for first sign-in

  1. Do not configure the attended FileWave sign-in callback solely for this flow. There is no interactive enrollment sign-in: the SSO extension registers the device and user directly with the IdP at first sign-in. The IdP and extension must still be configured for device registration and on-demand account creation.

  2. In the test ADE profile, open Platform SSO → Enable Platform SSO and choose PSSO for unattended device enrollment. Select the SSO profile, package, and revision you prepared. Central enables the managed administrator account and automatic advance. On the Account tab, supply the managed administrator account details and retain approved recovery access. Migration Assistant is turned off and cannot be combined with this mode. Central explains that unattended Platform SSO turns off Migration Assistant.

  3. Leave Do not allow devices to complete Setup Assistant without FileWave approval unchecked for automatic release, and do not require an interactive login to enroll. Save, assign, and synchronize the ADE profile for the test Mac before starting setup.

  4. Verify two separate outcomes. First, confirm the Mac reaches the login window without a regular user account and the selected profile and extension package are installed. Then have the authorized test user sign in at the Mac with their IdP identity. Confirm the local user account is created, the extension completes registration, and subsequent sign-in works. A provider registration prompt at first sign-in can be expected; “unattended” describes provisioning, not a user who never authenticates.

If the Mac enrolls but SSO does not work

  • No expected profile or package: Check the Mac’s ADE assignment, enrollment OS version, selected mode and committed Fileset revision. Confirm the installer was imported on a Mac, the profile matches that extension, and the Mac trusts the Server certificate. In unattended mode, FileWave can release the Mac to finish setup without Platform SSO after a terminal profile or package installation failure. Reaching the login window alone is not success.
  • Attended sign-in fails: Check the exact redirect URI, the Anywhere IdP selected for enrollment, and whether that IdP client requires a secret. For unattended enrollment, investigate the extension and first-login registration instead; changing the attended broker settings is not the remedy.
  • An enrolled Mac did not change after you edited the ADE profile: This is expected. Review the profile and package actually delivered at enrollment. If you intentionally need to remove the Platform SSO profile, Central’s Unlink PSSO action removes the profile, not the extension app. Confirm local administrator access before changing the device’s sign-in configuration.

Apple references: Platform SSO during Automated Device Enrollment and Platform SSO for unattended device enrollment.