S
S
skomoroh2014-07-25 09:34:15
Django
skomoroh, 2014-07-25 09:34:15

SOA and django. How to share users/groups/tokens across multiple backends?

There are several services with api, they give json to one ajax client.
Their functionality is different, nothing but users (to whom they give) and they are not connected with rights.
I want to make them independent.
In general, you need to make sure that the services are separate, and the users are common.
1 question: where can I see examples?
What to google?
2 question: how to make work with the rights?
Users can be generated immediately on the spot by user_id (only connections are needed), tokens and sessions can be transferred to external redis, but what about groups and rights?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Yeletsky, 2014-07-28
@Tiendil

And OAuth won't work (or a variation on this theme)? Those. users are stored in one service, while others turn to it for permissions.
You can start google on the topic Authentication/Authorization server.
IMHO, the easiest option is to simply export users to all services.
Another solution is to move all the information about them to a separate database and give all readonly access to all services.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question