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

Add extra check if idp is enabled in settings #218

Open wjstraver opened 4 years ago

wjstraver commented 4 years ago

Right now, the setting saml_2_setting.idpNames is not being used at all. I would like to use this to switch between IDP providers on live, staging and local with a value in the .env By adding this check, this now can work