More work to fix #29720. --------- Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
2.1 KiB
Custom configuration web URL
Some customers require end users to authenticate with a custom web application instead of an IdP.
How to require end users to authenticate with a custom web application:
-
Use Fleet's
teamYAML to create a "Workstations" team. -
Create an automatic enrollment (DEP) profile w/ the
configuration_web_urlset to the URL of the custom web application andawait_device_configuredset totrue. -
In the "Workstations"
teamYAML, set themacos_setup_assistantoption to the DEP profile. -
In the Fleet UI, go to Settings > Integrations > Automatic enrollment > Apple Business manager and set the Team to "Workstations".
-
Update the custom web application to send a manual enrollment profile, with the end user's email, to a Mac after the end user enters valid credentials. Here's an example snippet of an enrollment profile:
<dict>
<key>EndUserEmail</key>
<string>user@example.com</string>
</dict>
You can use Fleet's API to get the manual enrollment profile.
-
Update the custom web application to wait until the fleetd agent is installed on the new Mac and then do the following steps.
-
Make a request to the
GET /hostsAPI endpoint w/ the end user's email as a query param to get the Mac's hardware UUID. Example API request:GET /hosts?query=user@example.com. -
Make a request to Fleet's MDM command API to pre-fill the end user's local macOS account via the
AccountConfigurationMDM command. -
Make a request to Fleet's MDM command API to send the
Release Device from Await ConfigurationMDM command to allow the device through to the next step in the set up.