Closed DerStimmler closed 8 months ago
hei @DerStimmler Does the function name in the script have the same name as the function itself? At the moment those have to match.
Hi @hifabienne, the name was different. After renaming the function to the action name it works.
Seems like I missed this line in the documentation 😅
The name of the action must corelate with the javascript function in the code section. This function will be called by ZITADEL.
Thanks for your help!
Hi, I created an action which should just log the text "Test".
So in the zitadel console I created an action "Logging" with the following content:
The trigger is "Pre Userinfo creation" in "Complement Token" flow.
Now when I login into my application I can see in the zitadel logs that the action gets triggered but can't be executed because the function can't be found. This is the error log:
I've tried different function names, formatting, other modules (e.g. zitadel/http), but can't get the actions to work properly. Any ideas on how to solve this issue?
I'm running zitadel v2.38.2 in docker.