Identifying and filtering tenants using multi-tenant Azure AD SSO (Open ID Connect)

We have a SaaS web application hosted with a non-Azure provider. Currently users access it via built-in individual user accounts, but we are implementing multi-tenant SSO via Azure AD (Open ID Connect). The aim here is for each organisation (using Azure AD) to subscribe to our web application to allow their users to sign in.

ASP.NET to WordPress SSO with HttpWebRequest

I am attempting to create a single sign on experience between an asp.net site and a wordpress site using a simple form POST method. I have built a simple php page that uses the native wordpress functions wp_insert_user and wp_signon to create user account in the mysql db and sign them in. In my asp.net ‘create new user’ page code behind, I’m using the post method of an HttpWebRequest to send the required information to the php page.