Closed xnasa closed 5 years ago
Same issue.
Just a workaround would be to add this to the Saml2Controler.php:23
if (app()->runningInConsole()) {
$idpName = config('saml2_settings.idpNames')[0];
}
+1 on the 404. It'd be a better fix if it didn't need request parameters within the class constructor and instead looked to inject dependencies using Laravel's IoC.
Agree. In general, I think it's best to avoid constructors in controllers altogether if possible.
laravel_saml2 : 2.0.0 Laravel 5.8
The application routes used in the url seem to work correctly however the command
produces and error with a 404 exception.
It appears that the Saml2Controller evaluates to false when the command 'php artisan route:list' tries to produce information on the routes. Other than that the controller operates the route in the web interface just fine.