I defined a post user registration action. I invite a non-existing user to an Organization in Auth0 using DB connection and using management API, after the user receives the email, clicks on the invite, and enters the password his account is created but the action is never triggered.
I have another Login action that is triggered and I see it in the logs. I checked the previous posts about the same topics and seems like a while back there was an issue with logging the action in the logs. Is this the same issue I’m encountering? The action is supposed to send a message to my API but that never happens.
This still looks to be in our backlog unfortunately (logging), however the Action should execute - Is your API just not hit at all? It’s worth mentioning that event.organization is not available in a Post User Registration Action like it is in a Post Login Action.
Hello @tyf, the action is trying to send a message to a RabbitMQ service but the message is not sent. I tried to troubleshoot with adding console.log and test the action directly with some test data, but Test Results Panel doesn’t show any errors and it neither shows the console log message. So I don’t know how else to troubleshoot the issue.
Hey @ali4, thanks for the additional info, and sorry for inconvenience - Perhaps you can try the code from a post login action? I tested on my end by adding code to hit the management API to add a role to a newly registered user: