SAML Single Sign-On (SSO) for WordPress using ADFS as IdP | ADFS SSO Login
Overview
ADFS Single Sign-On (SSO) login for WordPress [SAML] can be achieved by using our WordPress SSO plugin. Our plugin compatible with all the SAML compliant Identity Providers. Here we will go through a step-by-step guide to configure SAML SSO login between WordPress site and ADFS by considering ADFS as IdP (Identity Provider) and WordPress as SP (Service Provider).
Pre-requisites : Download And Installation
To configure ADFS as SAML IdP with WordPress, you will need to install the miniOrange WP SAML SP SSO plugin.
Configuration Steps
Step 1: Setup ADFS as IdP (Identity Provider)
Follow the following steps to Configure ADFS as IdP:
- In the miniOrange SAML SP SSO plugin, navigate to Service Provider Metadata tab. Here, you can find the SP metadata such as SP Entity ID and ACS (AssertionConsumerService) URL which are required to configure the Identity Provider.
- On ADFS, search for ADFS Management application.
- In ADFS Management, select Relying Party Trust and click on Add Relying Party Trust.
- Select Claims aware from the Relying Party Trust Wizard and click on Start button.
Select Data Source
- In Select Data Source, select the data source for adding a relying party trust.
You have successfully configured ADFS as SAML IdP (Identity Provider) for achieving ADFS SSO login into your WordPress (WP) Site.
Windows SSO (Optional)
Follow the steps below to configure Windows SSO
Steps to configure ADFS for Windows Authentication
- Open elevated Command Prompt on the ADFS Server and execute the following command on it:
- setspn -a HTTP/##ADFS Server FQDN## ##Domain Service Account##
- FQDN is Fully Qualified Domain Name (Example : adfs4.example.com)
- Domain Service Account is the username of the account in AD.
- Example : setspn -a HTTP/adfs.example.com username/domain
- Open AD FS Management Console, click on Services and go to the Authentication Methods section. On the right, click on Edit Primary Authentication Methods. Check Windows Authentication in Intranet zone.
- Open Internet Explorer. Navigate to Security tab in Internet Options.
- Add the FQDN of AD FS to the list of sites in Local Intranet and restart the browser.
- Select Custom Level for the Security Zone. In the list of options, select Automatic Logon only in Intranet Zone.
- Open the powershell and execute following two commands to enable windows authentication in Chrome browser.
Set-AdfsProperties -WIASupportedUserAgents ((Get-ADFSProperties | Select -ExpandProperty WIASupportedUserAgents) + "Chrome")
Get-AdfsProperties | Select -ExpandProperty WIASupportedUserAgents;
- You have successfully configured ADFS for Windows Authentication.
Step 2: Configure WordPress as SP (Service Provider)
- Free
- Standard
- Premium
In this Guide, you have successfully configured ADFS SAML Single Sign-On (ADFS SSO Login) choosing ADFS as IdP and WordPress as SP using miniOrange plugin-SAML Single Sign On – SSO Login.This solution ensures that you are ready to roll out secure access to your WordPress (WP) site using ADFS login credentials within minutes.