Open szabogyula opened 2 years ago
Removing the
niif/
from the class name seems to fix the problem.
Just to note this is still the case on SSP 2.0.3. I'm fixing it with this patch:
--- attributescope/src/Auth/Process/FilterAttributes.php.orig 2023-01-09 11:25:21.586924098 +0200
+++ attributescope/src/Auth/Process/FilterAttributes.php 2023-01-09 11:25:37.754923580 +0200
@@ -23,7 +23,7 @@
* @link https://github.com/niif/simplesamlphp-module-attributescope
*/
-namespace SimpleSAML\Module\niif\attributescope\Auth\Process;
+namespace SimpleSAML\Module\attributescope\Auth\Process;
use SimpleSAML\Auth;
use SimpleSAML\Logger;
I get an exception with this patch on SSP 2.0.0-rc2:
So far as I can tell, it's because you've declared the namespace as
SimpleSAML\Module\niif\attributescope\Auth\Process
whereas it is expectingSimpleSAML\Module\attributescope\Auth\Process
based on the module name.Removing the
niif/
from the class name seems to fix the problem.