This project is an external module of laravel-jwt-idp for signle sign-out of applications that use the IDP. The module is written in Java.
The SSO is based on the Publish-Subscribe concept. Applications that use the IDP are subscribers, in fact when a user wants to logout the application sends a logout-message to a queue. A receiver reads the message and deletes the sessions of the user in the other applications.
In this project are implemented the receivers, the job of a receiver is deleting the sessions of a specific user. It is used RabbitMQ to implement publish-subscribe architecture.
First of all, install RabbitMQ on your machine: https://www.rabbitmq.com/download.html After that, edit queues.json file setting your Rabbit and Mysql configurations.