Password Import Hook and Okta User ID

I am working on implementing an API endpoint to support the Password Import Inline Hook. Is there a way to get the Okta User ID included in the password import event to help with looking up the user record on my side, or will I be required to use the Username I see in the sample request?

The password import inline hook enables migration of users from another data store in a case where you wish the users to retain their current passwords. It is meant to be used in conjunction with the Create User with password import inline hook flow that is provided by the Users API.

You get the Okta user id when you make the request in the doc below:

You are correct that you can use the username to do the lookup.

1 Like