We are using a User Import Inline Hook on our Workday application to control matching and linking behavior during user imports.
The application is configured to match users on a custom attribute. When no match is found, Okta correctly sends the CREATE_USER action to the inline hook.
Our inline hook flow then performs its own lookup against Okta UD using the employeeID value from data.appuser.profile. If a matching Okta user is found, the hook returns a LINK_USER command along with the target user ID.
Example of the exact JSON returned by the inline hook:
{
“commands”: [
{
“value”: {
“id”: “00uoiyjjw0FdYoG2A1d7”
},
“type”: “com.okta.user.update”
},
{
“value”: {
“result”: “LINK_USER”
},
“type”: “com.okta.action.update”
}
]
}
Issue:
Even though the hook responds with a valid LINK_USER command and the correct Okta user ID:
Okta does not link the imported user to the existing Okta user.
The user remains in the Import queue as Unmatched, with only the option to “Create New Account.”
No error is shown in the System Log indicating that the response was invalid or rejected. sys log shows inlinehook request processed successfully
any help in this regard will be greatly appreciated
thanks