Append claim in actions v2
Hi, I am trying to use actions v2 to append claims with the preuserinfo function.
I am using FastAPI for my "actions micro service". At the moment I just return this json:
But this seems to be ignored when I call the userinfo endpoint.
What I am doing wrong?
1 Reply
Hi @Weltenbrand, I'm an AI assistant for ZITADEL. While a team member reviews this question, I'll see if I can find relevant sources for your question.
Answer
I wasn't able to find a direct answer, here are some relevant sources:
1. Using Actions (1) :
This provides the expected JSON structure for Actions v2 webhook responses and explains how ZITADEL sends HTTP POST requests to your endpoint.
2. Actions v2 - Function PreUserinfo (2) :
This discusses similar issues with Actions v2 PreUserinfo function where claims aren't being set properly despite correct webhook responses.
To learn more, see the sources I considered:
[1] Using Actions
[2] Actions v2 - Function PreUserinfo
Feel free to tag @Ask Inkeep with additional questions.