I set up Elsa Workflows Core in an ASP.NET Core app, with authentication for HTTP requests.
I have an HttpEndpoint
activity, authentication is enforced, but I can't see any way to obtain the user's identity within the workflow.
The HttpContext
object doesn't seem to be available. I can get the HttpRequestModel
using GetInput()
, but HttpRequestModel
doesn't contain this information.
I'm using Microsoft AD authentication, but the question applies to any auth scheme.