Simple sample to demo keycloak integration into Elsa V3 server and studio (blazor server)
There are some known issues
-
studio blazor (server mode): get access_token from HttpContext
var token = await _jwtAccessor.ReadTokenAsync(TokenNames.AccessToken); //replaced by var token = await _httpContextAccessor.HttpContext.GetTokenAsync("access_token");
-
elsa server: add this code to program.cs to disable permission
Elsa.EndpointSecurityOptions.DisableSecurity();
-
...