Disable Authentication in Development
Disable Elsa API and Studio authorization for isolated development and test environments only.
Disable Elsa API endpoint security
using Elsa;
var builder = WebApplication.CreateBuilder(args);
if (builder.Environment.IsDevelopment())
EndpointSecurityOptions.DisableSecurity();
builder.Services.AddElsa(elsa =>
{
elsa
.UseWorkflowManagement()
.UseWorkflowRuntime()
.UseWorkflowsApi();
});
var app = builder.Build();
app.UseWorkflowsApi();
app.Run();Disable Studio authorization
What this does not disable
Before deployment
Last updated