Added tests to cover saml and added controller middleware

This commit is contained in:
Dan Brown
2019-11-17 19:15:37 +00:00
parent ebb3724892
commit c33ef4b9b2
3 changed files with 284 additions and 10 deletions

View File

@ -217,7 +217,6 @@ Route::get('/register/confirm/{token}', 'Auth\ConfirmEmailController@confirm');
Route::post('/register', 'Auth\RegisterController@postRegister');
// SAML routes
// TODO - Prevent access without SAML2 enabled via middleware
Route::get('/saml2/login', 'Auth\Saml2Controller@login');
Route::get('/saml2/logout', 'Auth\Saml2Controller@logout');
Route::get('/saml2/metadata', 'Auth\Saml2Controller@metadata');