|
|
|
|
|
by Alupis
189 days ago
|
|
There's no particular reason an Auth system must be designed like counterexample #2. There's many ways to design that system and avoid cycles. You can leverage caching of role information - propagated via messages/bus, JWT's with roles baked-in and IDP's you trust, etc. Hitting an Auth service for every request is chaotic and likely a source of issue. |
|
If you have two separate systems that depend on the auth system, and something depends on both, you have violated the polytree property.