Okta Issue push notification with 2 devices

,

Hello there,

I have a cli app that calls the okta api to handle user mfa for okta logins, the cli allows for the calling the API to issue a push challenge to a registered okta device for push notifications. I have come across an issue where if there are two separate devices using the app that are registered, when calling there factorIds separately, the push notification only goes to one of the devices regardless of he factorId given of the two. Both devices work fine when using the okta login portal, it is only when using the API where this issue occurs.

Example API call of:
https://nib.okta.com/api/v1/users/${userId}/factors/${factorId}/verify
Will send the prompt to one phone.

Where changing the factor id based of the response from: /api/v1/users/${userid}/factors issue the notification to the same phone.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.