'ADFS IDP checking if user already logged in via middleware or anyother way
I have integrated this package aacotroneo/laravel-saml2 with ADFS on premises.
There is one scenario i am not able to check like as if we are logged in microsoft or google then we are not asked again to logged in with their relative websites like outlook or gmail etc as defined in SSO.
I have done implementation regarding ADFS on premises and particularly i need to check if user has been logged in their network then i need to redirect them to home of the application.
Generally we get response in idpname/acs route but that is post route we cant check directly.
So How i can check if user is already logged in ADFS network ? so i can directly redirect him to application.
For now acs route fires only if user add credentials in defined IDP.
is there any way via middleware or anything with which we can check if user is already logged in IDP then we just only need to redirect user.
Any help would be appreciated !
Thanks !
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
