Well this article has no reference as such. I was experimenting integration of WordPress with VMware Identity Manager for authentication using SAML. For this, I have my setup of VIDM SAAS instance and On-premises Active Directory as well as a WordPress Site.
- Login to VMware Identity Manager portal and navigate to Catalog > Web Apps.
![](https://cloudvillage.in/wp-content/uploads/2019/06/image-97.png)
- Click on Settings
![](https://cloudvillage.in/wp-content/uploads/2019/06/image-98.png)
- Download the Identity Provider (IdP) metadata as well as Signing Certificate
![](https://cloudvillage.in/wp-content/uploads/2019/06/image-99.png)
- Login to WordPress admin console and click on Plugins and select Add New
![](https://cloudvillage.in/wp-content/uploads/2019/06/image-125.png)
- Search for SSO and it will list many SAML SP Plugins, I have installed the first one for my testing.
![](https://cloudvillage.in/wp-content/uploads/2019/06/image-126.png)
- Install and activate the plugin and click on settings to configure it. Click on Upload IDP metadata select the file which is downloaded from VMware Identity Manager and upload it.
![](https://cloudvillage.in/wp-content/uploads/2019/06/image-127.png)
- Once IDP metadata is uploaded, it will populate the complete IDP form as shown below. Click on Save
![](https://cloudvillage.in/wp-content/uploads/2019/06/image-128.png)
- Click on Service Provider metadata tab and click on Download for Metadata XML
![](https://cloudvillage.in/wp-content/uploads/2019/06/image-129.png)
- Login back to VMware Identity Manager portal and navigate to Catalog > Web Apps and click on New
![](https://cloudvillage.in/wp-content/uploads/2019/06/image-110.png)
- Enter a name for your WordPress App and click Next
![](https://cloudvillage.in/wp-content/uploads/2019/06/image-130.png)
- In configuration page, paste the XML configuration which is downloaded from WordPress App Click on Next
![](https://cloudvillage.in/wp-content/uploads/2019/06/image-131.png)
- Click Next for default policy
![](https://cloudvillage.in/wp-content/uploads/2019/06/image-114.png)
- Click on Save & Assign
![](https://cloudvillage.in/wp-content/uploads/2019/06/image-132.png)
- Add users and select Automatic and click on Save
![](https://cloudvillage.in/wp-content/uploads/2019/06/image-133.png)
- New Application will be added with assignment.
![](https://cloudvillage.in/wp-content/uploads/2019/06/image-134.png)
- Create users in WordPress with same users attribute as in directory source.
![](https://cloudvillage.in/wp-content/uploads/2019/06/image-135.png)
- Open a new Incognito Browser and access VMware Identity Manager portal and login with test user
![](https://cloudvillage.in/wp-content/uploads/2019/06/image-136.png)
- Click on Web App and it will login automatically.
![](https://cloudvillage.in/wp-content/uploads/2019/06/image-137.png)
- You can validate the same in VIDM reports. Navigate to Dashboard> Reports
- Select Audit Events and type Launch which shows CloudVillage app under Object and Event as Launch (Saml20) for user1 and user2
![](https://cloudvillage.in/wp-content/uploads/2019/06/image-138.png)