Skip to content

Instantly share code, notes, and snippets.

@dangtrinhnt
Created April 2, 2014 08:50
Show Gist options
  • Save dangtrinhnt/9930387 to your computer and use it in GitHub Desktop.
Save dangtrinhnt/9930387 to your computer and use it in GitHub Desktop.
simplesamlphp logout_relay.php
<?php
/* Redirect browser */
header("Location: https://mydomain.com/simplesaml/saml2/idp/initSLO.php?RelayState=/simplesaml/logout.php");
/* Make sure that code below does not get executed when we redirect. */
exit;
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment