Simplesamlphp_auth Drupal 8 + Simplesaml 库中的模块

Simplesamlphp_auth module in Drupal 8 + Simplesaml library

我已经成功安装了 simplesamlphp 并将我的系统配置为 SP。并且还能够登录 IDP。现在我想将它集成到我的 drupal8 项目中。 因此,根据安装说明,我在我的 drupal 项目模块文件夹中下载了 simplesamlphp_auth 模块并刷新了管理面板来安装它,抛出这样的错误-

The website encountered an unexpected error. Please try again later.</br></br><em class="placeholder">SimpleSAML\Error\CriticalConfigurationError</em>: The configuration (config/config.php) is invalid: Missing configuration file in <em class="placeholder">SimpleSAML\Error\CriticalConfigurationError::fromException()</em> (line <em class="placeholder">78</em> of <em class="placeholder">vendor/simplesamlphp/simplesamlphp/lib/SimpleSAML/Error/CriticalConfigurationError.php</em>). <pre class="backtrace">SimpleSAML_Configuration::getInstance() (Line: 43)

SimpleSAML\Auth\Simple->__construct('default-sp')(第 59 行) Drupal\simplesamlphp_auth\Service\SimplesamlphpAuthManager->__construct(对象)(第 262 行) Drupal\Component\DependencyInjection\Container->createService(Array, 'simplesamlphp_auth.manager')(第 171 行) Drupal\Component\DependencyInjection\Container->get('simplesamlphp_auth.manager', 1)(第 480 行) Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Array)(第 230 行) Drupal\Component\DependencyInjection\Container->createService(Array, 'simplesamlphp_auth_event_subscriber')(第 171 行) Drupal\Component\DependencyInjection\Container->get('simplesamlphp_auth_event_subscriber')(第 105 行) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.request', Object)(第 127 行) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1)(第 68 行) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1)(第 57 行) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1)(第 47 行) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1)(第 99 行) Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1)(第 78 行) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1)(第 47 行) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1)(第 50 行) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1)(第 23 行) Stack\StackedHttpKernel->handle(Object, 1, 1)(第 664 行) Drupal\Core\DrupalKernel->句柄(对象)(第 19 行)

请帮我解决这个问题。

在这个问题上花了一整天后,我终于通过复制 docroot/simplesamlphp/config 和 vendor/simplesamlphp/config 中的元数据文件夹和元数据解决了这个错误。

谢谢。