This might be a basic question about microservices. I searched for a few articles but not able to find anything apt. I am developing two different django rest applications (say A and B) which has to use the same authentication service. I've built the authentication service using django-rest-framework-simplejwt. My current plan is when a token is sent to A, I use TokenVerifyView from authentication service to validate the token. In certain cases where user information is required I have created a view in authentication service to return username. I'm intending to achieve this by sending a request to the authentication service for each view in A using a decorator. I understand this will be very slow and is a sub-optimal solution. What is a better way to achieve this? Thanks.