Skip to content

Instantly share code, notes, and snippets.

@a-fro
Created Oct 21, 2020
Embed
What would you like to do?
diff --git a/src/SamlService.php b/src/SamlService.php
index 1f22efb..98e8c03 100644
--- a/src/SamlService.php
+++ b/src/SamlService.php
@@ -129,6 +129,8 @@ class SamlService {
public function getMetadata() {
$settings = $this->getSamlAuth()->getSettings();
$metadata = $settings->getSPMetadata();
+ dump($metadata);
+ dump(simplexml_load_string($metadata));
$errors = $settings->validateMetadata($metadata);
if (empty($errors)) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment