aacotroneo / laravel-saml2

A Laravel 5 package for Saml2 integration as a SP (service provider) based on the simple OneLogin toolkit
MIT License
564 stars 237 forks source link

ADFS IDP checking if user already logged in via middleware or anyother way #261

Open adydev15 opened 2 years ago

adydev15 commented 2 years ago

Hi ,

I have integrated this package with ADFS on premises.

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.

Rather 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 !