Skip to content
Advertisement

Tag: microservices

How to implement authentication & authorization between microservices & API Gateway using Laravel

I’m trying to implement authentication & authorization of users between my microservices and API Gateway.What I have now: API Gateway which can request to any microservice. User microservice – where I’m storing all users. laravel/passport implemented to authenticate user in this microservice. Works as it should be, login route returns token which I’m using to authenticate user in this microservice.

Microservice Clients Circular Dependency

In a Microservice architecture, using client packages to communicate between services, we ran into an issue where two client packages depend on each other, creating a circular dependency. We are trying to figure out the best solution for this and I’m wondering if anyone would be able to help or point us in the right direction. Here is the scenario:

Advertisement