This article describes the expected behavior when an end user is enrolled with multiple mobile devices in Okta Verify.
- Okta Identity Engine (OIE)
- Okta Verify
- Factor Enrollment
When multiple devices are used for Okta Verify, Okta will send the Push Notification to all the devices enrolled in that user's account. Configurations in the User Interface (UI) only allow Okta to send to all devices.
By using API calls, the push notification can be sent to a particular device based on the FactorID associated with that device:
- Obtain the UserID using the List Users API call from the User Collection.
- Run the API call in the following format:
GET {{url}}/api/v1/users?limit=25
- Run the API call in the following format:
- Obtain the FactorID using the List Factors API Call from the Factor Collection.
- Run the API call in the following format:
GET {{url}}/api/v1/users/{{userId}}/factors - If an end user is enrolled with multiple devices, select the specific device name that needs to be sent the Okta Verify Push Notification.
- Run the API call in the following format:
- Send the push challenge by using the Send Push Challenge API Call from the Factor Collection.
- Run the API call in the following format:
POST /api/v1/users/${userId}/factors/${factorId}/verify
- Run the API call in the following format:
