I
I
iambotandiamfine2016-06-01 16:59:21
User identification
iambotandiamfine, 2016-06-01 16:59:21

How to implement authorization in microservices?

Hello. Let's say I have one microservice that authenticates users, accesses the database, saves cookies, etc. How can I implement authorization of user requests to microservices, i.e. so that they would know that this request is definitely from Vasya, and this one is from Petya?
I heard about hashed public keys that are added to the request body, for example with rest.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Gizmothron, 2016-06-01
@Gizmothron

Token.
Look, for example, how it is done on gRPC.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question