use single unique client for multiple realm in keycloak

Viewed 1480

We are using keycloak in a multi-tenant micro-services application.
We have planed to use one realm per tenant.
Also there is single endpoint that all user requests (from all tenants) authenticated with JWT bearer token flow.
Is that possible to create one application client in keycloak and share it amount all realms? Or we have to create a client (with same name) for each realms?

1 Answers

Is that possible to create one application client in keycloak and share it amount all realms?

Out-of-the box this is not possible, just like users, clients are defined at the Realm level, and consequently, cannot be shared among realms.

Related