Reputation: 267
I working on website application which is developed on laravel 4.2 framework and my website associated to another websites application that are related to.
I want to implement single sign on (SSO) functionality in my application.
Suppose my application : www.example.com
Associated websites are the following :
When i logged on to any one of the websites (my application or associated websites).
After logged, hits rest of the websites except (currently i logged websites) then it should not prompt for login means it should allow to enter in the application without logging because i already logged at one application.
Same as, when we logged on gmail account,and go to any account (drive,google plus,youtube etc) then it won't ask for login again,it bypass the login page for application.
Is there any better and feasible solutions for php/laravel ?
Upvotes: 1
Views: 687
Reputation: 784
May be following steps will help you to achieve single sign on across your different website
As we are redirecting the user on the different server, we can set the cookie there with the common name as 'SSOcookie' and every time access the same when coming from different application. This will help you to achieve single sign on for different domain.
Upvotes: 2