24Slides / laravel-saml2

[Laravel 5.4+] An integration to add SSO to your service via SAML2 protocol based on OneLogin toolkit with support of multiple Identity Providers
MIT License
232 stars 69 forks source link

Make it easy to subclass Saml2Controller #90

Open tentus opened 6 months ago

tentus commented 6 months ago

There is a feature in the aacotroneo/laravel-saml2 library which allows users to extend the controller without having to redefine all the routes by defining a saml2_controller config value, which you can see here.

It's very simple to implement, and I was able to duplicate the functionality with minimal tweaks to rectify stylistic differences between the two repos. My intent here is to make it easier for users of the aacotroneo lib to switch over to this one (and by users I mean me, specifically, but I'm sure other people could also use this feature).

fedeisas commented 6 months ago

+1

I also bumped into this trying to add login_hint to my login calls