Skip to content

Instantly share code, notes, and snippets.

@a-fro
Created October 21, 2020 20:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save a-fro/c24f739baf12a19ce901f24f44c5e15d to your computer and use it in GitHub Desktop.
Save a-fro/c24f739baf12a19ce901f24f44c5e15d to your computer and use it in GitHub Desktop.
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