Skip to content

JWT authentication #2

@klimenttoshkov

Description

@klimenttoshkov

Hi,

I have Operaton engine running embedded in our Spring boot application.
Authentication is performed using JWT with custom keycloak authentication filter + operaton authentication filter.
Basically it simply authenticates the user with the process engine and adds his groups:

			String userId = jwtAuth.getName(); // preferred_username via your converter
			List<String> groups = jwtAuth.getAuthorities().stream()
					.map(GrantedAuthority::getAuthority)
					.toList();

			processEngine.getIdentityService().setAuthentication(userId, groups);

Given the above context which I believe is very common, could you please advise how to try the Tasklist application to talk to the engine?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions