I have added “Domain Based Registration” action to the pre-user-registration trigger. And it is work fine but last time it is always throw the “Extensibility error” in the registration flow. All other without any customisation.
In the logs inside Auth0 dashboard I found an exception that looks like:
{
"action_name": "Domain Based Registration v1",
"response": {
"error": {
"message": "Cannot read properties of undefined (reading 'split')",
"name": "TypeError",
"stack": "TypeError: Cannot read properties of undefined (reading 'split')\n at exports.onExecutePreUserRegistration (/data/io/node16/5357b479-0b08-40d2-85c6-29bb28e31743/webtask.js:5:46)\n at /data/io/0b8f48245cde1e21775f8deb6eaea6698910fb0a.js:5:857\n at processTicksAndRejections (node:internal/process/task_queues:96:5)"
},
"stats": {
"action_duration_ms": 3
}
},
"started_at": "2024-11-08T10:44:07.562Z",
"ended_at": "2024-11-08T10:44:07.584741188Z"
}
As I understand it is something inside the action that was developed by Auth0.
How can I fix that?