Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • What you should be looking for is an API gateway: softwareengineering.stackexchange.com/a/420892/425983 Commented Feb 27, 2023 at 4:32
  • Have you considered a Role-based model instead of mapping users directly to permissions? It seems that a lot of the complexity is in the need for your microservices to know about user mappings instead of just knowing which roles are associated with specific permissions. Role-Based access typically involves putting roles into the user's current "session" (For example, their token or cookie), so checking their permission wouldn't need to involve knowing their identity. Commented Feb 27, 2023 at 11:09