You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to be able to log the user's IP against the user when they are authenticated, but can't figure out how to do this. I'm working in the event listener that handles the \Slides\Saml2\Events\SignedIn::class event, but that doesn't seem to have access to the request so I can't get the IP that way.
I did try adding the IP to the session before my router/controller redirects the user to the IdP to auth, but it looks like the session is overwritten with a new session by the time the SignedIn event is triggered, so that value no longer exists in the session.
Any ideas would be welcome.
Cheers!
The text was updated successfully, but these errors were encountered:
Hi all.
I want to be able to log the user's IP against the user when they are authenticated, but can't figure out how to do this. I'm working in the event listener that handles the
\Slides\Saml2\Events\SignedIn::class
event, but that doesn't seem to have access to the request so I can't get the IP that way.I did try adding the IP to the session before my router/controller redirects the user to the IdP to auth, but it looks like the session is overwritten with a new session by the time the SignedIn event is triggered, so that value no longer exists in the session.
Any ideas would be welcome.
Cheers!
The text was updated successfully, but these errors were encountered: