[keycloak-user] Client vs resource

Daya Gnanasekaran daya.gnanasekaran at gmail.com
Thu Mar 29 15:03:57 EDT 2018


I'm planning to use keyclok to secure our product and i have doubts around
defining clients and resoureces,

Our product consists of 4 major components, lets say A,B,C,D and each
components has a set of APIs. Component A intracts with B and C. Component
B interacts with C. There can be multiple instances of C connected to B and
there can be multiple instances of D connected to C. The users in an
organization can have various roles like admin or read-only user on each
component. User, who is an admin for componet A can be a read-only user in
component B and same applies for various instances of C.

Now i'm stuck at whether to create multiple clients, one per component or
create one client and make each of this component a resource.

Your thoughts?

Daya


More information about the keycloak-user mailing list