Flow output being posted by Duo Developer account instead of flow's service account
The LSP project is using the regular user account to make requests to the websocket endpoint (/api/v4/ai/duo_workflows/ws). This results in the wrong token being returned, which means actions (such as comments) are being attributed to the Duo Developer user instead of the flow's service account (i.e. ai-my-flow-my-group).
We should update the LSP repo to include the token for the service account. We can then use that on the monolith side to return the right token, and then things will be attributed correctly.
See more info in this Slack discussion (internal. Good for 90 days)
Edited by 🤖 GitLab Bot 🤖