Open cbzink opened 6 years ago
First thing to do when you get an error message of type "X not found" is to check if X is there or not ;) Try to search for "class OneLogin_Saml2_Auth" in your "vendor" directory. Hint. If it's there, but not loading, try composer dump-autoload –optimize
, or delete the vendor directory and composer install
.
Having the same issue on the remove-mcrypt branch, seems one of the OneLogin classes is incorrect now. Any chance this can be fixed?
@marknduncan , did you read the previous comment? This doesn't really sound like a problem with aacotroneo/laravel-saml2
. If it is, more information is needed to pinpoint the issue.
Aha, now I see that you also posted #133 . Seems like they've changed naming from OneLogin_Saml2_Auth
to OneLogin\Saml2\Auth
in the 3.0.0 branch.
Ah yep sorry, meant to come back here and explain a bit more after I posted that and dug into it a bit more. Appreciate the response.
@danmichaelo I am running into this issue as well. Are you aware of someone working on fixing this to work with the current version of 3.0.0 or is everyone waiting for that to become an official release?
Is anyone working on this? This issue is also happening while trying to use the remove_mcrypt
branch.
Just Made a PR #134 correcting the issue with missing classes.
Thanks @jhoopes I merged it... lets see how it goes.
Once 3.0 is out and ~stable we'll merge all to master and release a new version.
Brand new Laravel app, ran
composer require aacotroneo/laravel-saml2:dev-remove_mcrypt
,php artisan vendor:publish
, and setup the various configurations inconfig/saml2_settings.php
.Visiting
/saml2/metadata
results in the following error:~/vendor/aacotroneo/laravel-saml2/src/Aacotroneo/Saml2/Saml2ServiceProvider.php
Line 78:
return new OneLogin_Saml2_Auth($config);
"Class 'OneLogin_Saml2_Auth' not found"
This is using Laravel on macOS with Valet. Any help is appreciated!