Skip to content

Commit

Permalink
Forgot create the metadata object
Browse files Browse the repository at this point in the history
  • Loading branch information
pitbulk committed Jul 31, 2015
1 parent 2152b24 commit e22d3e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions demo1/metadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#$settings = $auth->getSettings();
// Now we only validate SP settings
$settings = new OneLogin_Saml2_Settings($settingsInfo, true);
$metadata = $settings->getSPMetadata();
$errors = $settings->validateMetadata($metadata);
if (empty($errors)) {
header('Content-Type: text/xml');
Expand Down

0 comments on commit e22d3e8

Please sign in to comment.