I am using Laravel 5.2 and the laravel-saml2 package to create a simple single sign-on application.
I have a simple page with a link http: // laravel_url / private . When the user clicks on the link, I check the user status of the session, and if the user does not authenticate the application, redirect to IDP. According to the documentation, after successful authentication, IDP sends a POST with user data to http: // laravel_url / saml / acs url. In this step, I try to save user data from IDP to the session. However, Laravel creates a new session file, and I save the user data to a new file.
How can I store user data in a single session file?
source
share