F
F
Fadi Haj2016-08-23 20:26:41
Python
Fadi Haj, 2016-08-23 20:26:41

How to properly organize authorization?

It is necessary to organize authorization in a microservice architecture. The system has user groups. At any time, the administrator can revoke or add permissions to a specific group of users.
At the moment, there are 2 options for solving the problem:
1. Proxy
Before the services there will be a reverse-proxy service that the administrator will work with. At this level, the final service will be determined by url and the user's permissions.
2. ACL service
The service with which the administrator will work and which will be accessed by services to determine the user's permissions.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita, 2016-08-23
@fdhaj

Google it calmly. I didn’t understand your options, just set up an OAuth server and send a JWT token across all services.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question