Integrate WordPress with Conditional Access
In this topic, you will find general instructions on how to integrate WordPress with Portnox™ Conditional Access for Applications using the miniOrange SAML plugin.
Before configuring SSO in WordPress, you need to click on the Plugins menu option and install the miniOrange SAML Single Sign On plugin. Without this plugin, WordPress has no SAML capabilities.
Create a Portnox Cloud application configuration
In this step, you will create a configuration in Portnox Cloud that will contain all the information necessary to integrate with WordPress.
-
In a new tab of your browser, open your Portnox Cloud account by accessing the following URL: https://clear.portnox.com/
From now on, we will call this tab the Portnox tab.
-
In the Cloud portal top menu, click on the Applications option.
-
On the Applications screen, click on the Add application button, and
select the Add new SAML application option.
- Optional: If you have more than one SAML identity provider configured, select the identity provider in the Select an identity provider to use for this application section.
-
In the Application details section, enter an Application
name and optionally a Description.
In this example, we used the name WordPress for the new application configuration but you can use any name you like.
- Keep this browser tab open. You will need it later.
Open your miniOrange SAML configuration page in WordPress
In this section, you will access your miniOrange SAML configuration page in WordPress and set up SAML single sign-on.
-
In another tab of your browser, open your WordPress administrative interface.
From now on, we will call this tab the WordPress tab.
-
In the left-hand side menu, click on the miniOrange SAML 2.0 SSO option.
-
In the Let’s get started! pane, click on the Configure Your IDP Now
button.
Export metadata from the Portnox tab and upload it in the WordPress tab
In this section, you will export the metadata from Portnox Cloud into a file and upload that file in the miniOrange SAML configuration section in WordPress.
-
In the Portnox tab, in the SAML metadata section, click on the Download metadata
XML file link to download the XML file and save it to your local drive.
-
In the WordPress tab, in the Service Provider Setup tab, in the Configure Service
Provider section, click on the Upload IDP Metadata tab, and in the
Identity Provider Name field, enter the name that you want your users to see on the login
screen as Log in with name. Then, click on the Choose
File button next to the Upload Metadata heading, and then upload the XML file
downloaded from Portnox Cloud.
- Optional:
You can check the imported metadata in the Enter IDP Metadata Manually tab.
Copy configuration values from the WordPress tab to the Portnox tab
In this section, you will copy the values displayed in the miniOrange SAML setup section in WordPress, and paste them in the relevant fields in Portnox Cloud.
-
In the WordPress tab, click on the Service Provider Metadata tab and scroll down to the
Note the following to configure the IDP section.
-
In the WordPress tab, click on the ⧉ icon next to the
SP-EntityID / Issuer field to copy the value to the clipboard.
-
In the Portnox tab, in the Application properties section, click on the empty field under
the Entity ID / Service Provider Entity URL heading and paste the value copied from
WordPress.
-
In the WordPress tab, click on the ⧉ icon next to the ACS
(AssertionConsumerService) URL field to copy the value to the clipboard.
-
In the Portnox tab, in the Application properties section, click on the empty field under
the Assertion Consumer Service (ACS) URL / Reply URL heading and paste the value copied from
WordPress.
Finalize the configuration
In this section, you will finalize the configuration in Portnox Cloud and WordPress.
-
Finalize the configuration in the Portnox tab.
-
Finalize the configuration in the WordPress tab.
Result: You have configured WordPress to be accessible using Portnox Conditional Access for Applications.