user17424435
user17424435

Reputation: 21

Addd Authorization to http endpoint in elsa workflow

I tried with token bearer and still api works without token.Is there any way how we can achieve Authorization in elsa workflow.

Upvotes: 1

Views: 1084

Answers (1)

Sipke Schoorstra
Sipke Schoorstra

Reputation: 3409

Elsa 2.3 and below don't support HTTP Endpoint authorization. For that, you would need to update to Elsa 2.4.x (currently released as preview packages available from MyGet.

You will then see a new option that you can enable:

enter image description here

You can optionally specify a policy name to evaluate. If no policy is specified, the HTTP Endpoint will execute for any & all authenticated requests and reject anonymous requests.

Upvotes: 2

Related Questions