ShibbolethBundle
ShibbolethBundle copied to clipboard
Laravel integration
Is possible making a Laravel 5 integration?
This might be possible but need a new repository.
Both Laravel and Symfony seem to use a new interface called "Guard" to enable additional authentication methods. I wrote a bundle that uses the Guard in Symfony see: https://github.com/roenschg/ShibbolethGuardBundle
But you can´t just use the SymfonyGuardBundle in Laravel because the Guard interfaces differ between these frameworks even though they work quite similar.
Usefull links:
- https://laravel.com/docs/5.4/authentication#adding-custom-guards
- http://symfony.com/doc/current/security/guard_authentication.html
- https://github.com/roenschg/ShibbolethGuardBundle/blob/master/Security/ShibbolethAuthenticator.php
Compare the two guard interfaces: https://laravel.com/api/5.1/Illuminate/Contracts/Auth/Guard.html and http://api.symfony.com/3.2/Symfony/Component/Security/Guard/GuardAuthenticatorInterface.html
Does the following module already implement the required functionality? https://github.com/StudentAffairsUWM/Laravel-Shibboleth-Service-Provider