-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make it easy to subclass Saml2Controller
It is normal to want to extend Saml2Controller, notably to pass your app's own "redirect URL" to the Saml2Auth login() call, so that the RelayState will be set accordingly. This commit makes it easy to do so by adding an optional config value that lets you specify the controller. By default, with no value provided, the routes will be configured as before, with the default Saml2Controller. Updates the Readme with example of how to do it.
- Loading branch information
1 parent
87065d3
commit 34fe227
Showing
3 changed files
with
36 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters