What is the better way to authorize user in Saas based mircoservice

Viewed 17

I am looking for a better approach to authorizing user users. without hitting the user service while hitting the Slider service.

Problem:- I have 2 services right now

  1. Users service (where I am getting the auth token and user write and read permission )
  2. Slider service (this will return the data according to the user's permission )

Which is the better way to check the user role without hitting the user's services again and again.

0 Answers
Related