SAML is one of the open protocols we can use to consume Azure Active Directory. And SimpleSAML makes it easy for PHP applications to consume SAML. By leveraging federation metadata you can setup SimpleSAML to talk to Azure AD (as an identity provider) and then provide authentication services to your PHP applications, like Drupal.
We followed Stefan Verhoeven's gist for this demo.
