A
A
antonko2020-09-14 16:54:55
OAuth
antonko, 2020-09-14 16:54:55

How to store user data in a microservice architecture with OAuth & JWT?

Given:

  1. Microservice architecture, services interact with each other through queues
  2. There is a separate service for authentication based on identityserver
  3. Services receive a ready-made JWT that contains all the information about the user.


New condition: Users share their "projects" (some entity) with each other

  1. Where to store this data about the balls for "projects" with such an architecture?
  2. How do services learn about projects shared with a user?


There is such a thing as Claims and it fits this task well. But it is not going to the final puzzle.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Shumov, 2020-09-14
@inoise

Start a separate microservice where to store the balls. The user applies for his balls to this service. All the magic is over

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question