Configure and deploy Desktop MFA policies for macOS
Set up Desktop MFA for macOS and create managed profiles to enable the MFA workflow on your macOS computers. Use any device management solution that supports deploying macOS installer packages and configuration profiles. These instructions assume the use of Jamf Pro for device management.
When you deploy the Desktop MFA MDM profiles, ensure that they've been successfully pushed to devices before deploying the macOS Okta Verify package. If the MDM profile doesn't exist on the user's device when the package installer runs, Desktop MFA isn't installed.
Tasks
Upload the Okta Verify for macOS package to your MDM
Upload the Okta Verify for macOS package that you downloaded from the Okta Admin Console to your MDM. In Jamf Pro, go to . Click + New to configure the package details.
Configure the Desktop MFA for macOS installation process
-
In Jamf, click + New.
and click -
Add a Display Name and select Login for the policy Trigger.
-
Next, click Packages, and then click Configure. Locate the Okta Verify package that you uploaded in the previous step and click the Add button next to the package.
-
Configure the Distribution point.
-
Using the dropdown, select Install as the Action.
-
Click Save.
Ensure that the MDM profile has been successfully deployed to end user devices before deploying the macOS Okta Verify package.
Add Desktop MFA policies by plist
-
In Jamf, click Configuration Profiles and then click + New.
-
Enter a name for the profile.
-
Click Application & Custom Settings to configure the payload. Click Upload.
-
Click + Add.
-
Enter com.okta.deviceaccess.servicedaemon as the Preference Domain.
-
Add the values for your organization in a plist format. Use the table below the plist example to determine the appropriate parameters for your org.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>DMFAClientID</key>
<string>add-your-client-ID-here</string>
<key>DMFAClientSecret</key>
<string>add-your-client-secret-here</string>
<key>DMFAOrgURL</key>
<string>https://add-your-org-URL-with-prefix-here</string>
<key>LoginPeriodWithOfflineFactor</key>
<real>24</real>
<key>LoginPeriodWithoutEnrolledFactor</key>
<real>48</real>
<key>AdminEmail</key>
<string>admin@yourorg.com</string>
<key>AdminPhone</key>
<string>111-222-3333</string>
<key>MFARequiredList</key>
<array>
<string>*</string>
</array>
<key>AccountLinkingMFAFactor</key>
<string>OV_Push</string>
</dict>
</plist>
Value name | Description | Value type | Default value |
LoginPeriodWithoutEnrolledFactor | Sets a grace period, in hours, that a user can sign in with only a password and without enrolling any factors. Once this grace period has passed, the user must link their account and enroll an offline authentication factor to access the computer. | Real | 48 hours |
LoginPeriodWithOfflineFactor | If this is set to 0, a user can't log in with offline factors. If LoginPeriodWithoutEnrolledFactor is greater than 0, users are required to sign in with an online factor every X hours. | Real | 24 hours |
MFANotRequiredList | Users listed in MFANotRequiredList aren't Desktop MFA enforced. This list takes priority over MFARequiredList. Accounts listed here are case sensitive. | String array | Empty |
MFARequiredList | Some users who have Desktop MFA installed may not be required to use MFA. For example, if local user "john-smith" is named in MFARequiredList, they must use MFA. If a user isn't on this list and Desktop MFA is installed, the user is only prompted for a password. If a user is on this list and Desktop MFA is installed, the user is prompted to use MFA. Accounts listed here are case sensitive. | String array | * MFA applies to all users |
AdminEmail | Enter an email address for end users to get support. | String | Empty |
AdminPhone | Add a phone number for end users to get immediate support. | String | Empty |
AccountLinkingMFAFactor | The verification method that you want used when linking an Okta account to the local macOS account. Available options are OV_Push (Okta Verify push notification) and OV_TOTP (Okta Verify Time-based One-Time Password). | String | OV_Push |
AllowedFactors | A list of factors that users can authenticate with. The allowed factors appear in the order that they're listed in your configurations. If no factors are specified, all factors are allowed. Ensure that the factors listed are spelled correctly. Accepted values for AllowedFactors are:
|
String array | * |
DeviceRecoveryPINDuration | How long the device recovery PINs are valid after activation. Value is in minutes, with a maximum of five days (7200). See Desktop MFA Recovery. | Real | 60 minutes |
OfflineLoginAllowed |
When this is set to true, offline factors are shown to the user. This allows the user to enroll an offline authentication factor. When this is set to false, offline factors are never shown and enforcement of offline factors doesn't happen. If this policy is changed to true and the LoginPeriodWithoutEnrolledFactor is expired, users are forced to enroll an offline factor. |
Boolean, but not string. Example: <key>OfflineLoginAllowed</key><true/> |
True |
Enforce number challenge for Desktop MFA
Early Access release. See Enable self-service features.
You can enforce number challenge for Desktop MFA users. Enabling this feature makes all push notifications for Desktop MFA a number challenge, regardless of the authentication policy.
-
In the Admin Console, go to .
-
Locate the Okta Device Access section.
-
Click Edit.
-
Use the dropdown menu next to Enforce number matching challenge for Desktop MFA and select Enabled.
-
Click Save.
This provides enhanced security for your org by ensuring that users can only verify their identity when their mobile device and computer are both present.
Number Challenge for Okta Verify can be enabled in two locations in the Admin Console:
- Enable Enforce number challenge for Desktop MFA in . When this is enabled, only users who have Desktop MFA receive number challenges in push notifications.
- Push notification: number challenge for Okta Verify is enabled in . When this is configured, all users across the org receive number challenges in push notifications. See Configure Okta Verify options for more information.