flowable / flowable/flowable-engine

Tenant is not mapped to the user in flowable-ui when Keycloak is enabled

Open
#3,137 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
9.5k
Forks
2.9k
Avg merge
7h 8m
Merged PRs (30d)
2

Description

**Is your feature request related to a problem? Please describe.**

- When using Flowable UI with Keycloak integration, the tenant Id variable is always returned as null.
- We are unable to sort business processes by tenant so any user will see all processes/apps for all tenants.
- When setting tenantId a request is issued to a URL like this `http://{HOST}flowable-ui/idm-app/rest/admin/users/{USER}` but this exception is raised:

> org.flowable.common.engine.api.FlowableException: Keycloak identity service doesn't support saving an user

**Describe the solution you'd like**

Tenant Id might be mapped in the token as a specific group or claim or maybe both depending on a configuration.
What is the best way to implement such a feature? I might be able to help if we agree on the best way to do it.

**Describe alternatives you've considered**

We can avoid setting tenant ID from flowable-ui as it might be in progress. However, it's preferable to have a workaround to map tenant-id from keycloak.

**Additional context**
Flowable UI using Keycloak based authentication.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.