Philipp Nies
Philipp Nies

Reputation: 969

Laravel authentication in multiple instances

Since we currently maintain 6 applications that were developed with Laravel, the wish has now arisen that there is a unified login system.

Currently we are working with a database purely for authentication where all applications access it. So the user only has to be created once for all 6 applications.

Now I would like the user to have only one login page and be able to use all applications after authentication.

I would solve the problem with a RSYNC task which synchronizes the cache of the applications. However, I think that there is a better way, so I ask you

Upvotes: 1

Views: 424

Answers (1)

Douwe de Haan
Douwe de Haan

Reputation: 6646

What you are looking for is called a Single sign-on, which has been answered here before some times, but for people who don't know how to call it, it would be pretty hard to find! So here are some links:

Good single sign-on solution for Laravel by lesssuger

single sign on (sso) laravel by Moauya Meghari

Upvotes: 2

Related Questions