laravel-saml2
laravel-saml2 copied to clipboard
Target class [saml] does not exist
Hi Can you please help me fix the above error?
I have followed the documentation and created the tenant and added the middleware checking.
When I try to access the urls I am getting the attached error.
Please advice.
Thanks
Pearl

Just in case anyone is facing this issue... it's related to a missing entry within laravel app/Http/Kernel.php
As indicated in the documentation, it's needed to create a new entry with the following details (at least at the time of this message).
protected $middlewareGroups = [ 'web' => [ ... ], 'api' => [ ... ], 'saml' => [ \App\Http\Middleware\EncryptCookies::class, \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class, \Illuminate\Session\Middleware\StartSession::class, ],