elsa-workflows / elsa-workflows/elsa-core
Middleware not invoked when using custom endpoints
Open
elsa 3
triaged
- Dominant language
- C#
- Stars
- 7.9k
- Forks
- 1.5k
- Avg merge
- 15h 22m
- Merged PRs (30d)
- 114
Description
Our system passes some claims to Elsa via JWT. We then have middleware to read the token. All works fine when using the built in /Execute endpoint, but if we try and use any custom HTTP activities the middleware is never invoked. Is there a way to get this to work?
Contributor guide
Research direction
Start by comparing how the built-in /Execute endpoint and custom HTTP activities invoke middleware, then trace where JWT claims are read. Done means the middleware is invoked for custom endpoints and the claims are available as they are for /Execute.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100