Skip to content

adfs: enabling module breaks admin/federation page #2458

Description

@tvdijen

Help us to keep this issue-tracker clean! For questions or support, please refer to our mailing lists

Specifics of your environment

  1. IdP/SP/Proxy? IdP
  2. SimpleSAMLphp: 2.4.1
  3. PHP: What version are you using? 8.4.7
  4. Platform: unix or Windows? Unix
  5. Webserver: Apache/Nginx/ISS? Apache

Describe the bug
When accessing module.php/admin/federation an exception is thrown when the adfs-module is installed.

To Reproduce
Steps to reproduce the behavior:

  1. Install the latest version of the adfs-moduleGo to '...'
  2. module.php/admin/federation
  3. See error

Expected behavior
No exception

Screenshots or logs

Backtrace:
2 src/SimpleSAML/Error/ExceptionHandler.php:39 (SimpleSAML\Error\ExceptionHandler::customExceptionHandler)
1 vendor/symfony/error-handler/ErrorHandler.php:538 (Symfony\Component\ErrorHandler\ErrorHandler::handleException)
0 [builtin] (N/A)
Caused by: Symfony\Component\ErrorHandler\Error\UndefinedMethodError: Attempted to call an undefined method named "getHostedMetadata" of class "SimpleSAML\Module\adfs\IdP\ADFS".
Backtrace:
6 modules/admin/src/Controller/Federation.php:273 (SimpleSAML\Module\admin\Controller\Federation::getHostedIdP)
5 modules/admin/src/Controller/Federation.php:131 (SimpleSAML\Module\admin\Controller\Federation::main)
4 vendor/symfony/http-kernel/HttpKernel.php:181 (Symfony\Component\HttpKernel\HttpKernel::handleRaw)
3 vendor/symfony/http-kernel/HttpKernel.php:76 (Symfony\Component\HttpKernel\HttpKernel::handle)
2 vendor/symfony/http-kernel/Kernel.php:197 (Symfony\Component\HttpKernel\Kernel::handle)
1 src/SimpleSAML/Module.php:234 (SimpleSAML\Module::process)
0 public/module.php:17 (N/A)

Additional context
The solution is probably to implement the missing method in the adfs-module. If analysis supports this, this issue should be moved to the proper repository.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions