Skip to content

refactor realm modeling to support multiple clients per realm #20

@https-richardy

Description

@https-richardy

Currently, the Realm entity is being used to represent a client, which leads to an inaccurate domain model and limits flexibility. A Realm should act as a logical boundary or container, while clients should be defined as independent entities within a realm.

The current structure tightly couples client-specific data (such as ClientId, SecretHash, RedirectUris, and Permissions) directly to the Realm, preventing the system from supporting multiple clients under the same realm and making the model harder to evolve.

Refactor the domain model to introduce a dedicated Client entity associated with a Realm. Each Realm should be able to contain multiple clients, and client-specific configurations should be moved accordingly.

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions