I am in desperate need of sample code to do Azure SSO authentication using SAML in pure PHP. I have been searching the web for weeks, but to no avail. I have read the posts regarding simplesamlphp, but I am looking for a pure PHP solution. I know how to configure the Azure side of things, no problems there. Also have the SSL cert setup on my site (an intranet based MIS site). But what I cannot find is a step by step tutorial / examples of the PHP code, from connecting to Azure using SAML, and receiving and interpreting the response back from Azure. Does anyone have any links or sample code for this?
Currently our application does LDAP authentication against our local AD on the LAN. Our organization has now created an Azure AD account and all user accounts are synced across. The big benefit with Azure is of course SSO. Hence my need to authenticate in PHP to Azure.
This is my first time asking for help online. I really do my research and try to figure things out for myself. I have been coding in PHP for 12 years. Azure SSO PHP authentication is the first time in my career that I am stumped. Any help would so be appreciated.