SAML Single Sign-On (SSO) for WordPress using WSO2 as IdP | WSO2 SSO Login
Overview
WSO2 Single Sign-On (SSO) login for WordPress can be achieved by using our WordPress SAML Single Sign-On (SSO) plugin. Our plugin is compatible with all the SAML compliant Identity Providers. Here we will go through a step-by-step guide to configure SSO login between WordPress site and WSO2 by considering WSO2 as IdP (Identity Provider) and WordPress as SP (Service Provider).
You can visit our WordPress SSO plugin to know more about the other features we provide.
Pre-requisites : Download And Installation
To configure WSO2 as SAML IdP with WordPress, you will need to install the miniOrange WP SAML SP SSO plugin.
To setup Single Sign-On using WSO2 IdP, you can also follow this step by step Setup Video.
Configuration Steps
1. Setup WSO2 as IdP (Identity Provider)
Follow the following steps to Configure WSO2 as IdP:
Configure WSO2 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.
- Login to your WSO2 admin console.
- Navigate to the WordPress Site A.
- From the left navigation menu, select Add under Service Provider tab.
- In the Add New Service Provider page, configure the following:
- Select Mode: Manual Configuration
- Service Provider Name: WordPress
- Service Provider description: (Optional) Enter a description
- Click on Register.
Basic Information
- Select SP Certificate Type: Use SP JWKS endpoint
- SaaS Application: Checked (Optional)
Claim Configuration
- Select Claim mapping Dialect: Use Local Claim Dialect
- Click on Add Claim URI you can add multiple claims/attributes for Attribute Mapping (such as emailaddress, firstname, lastname, telephone, etc).
- Subject Claim URI: https://wso2.org/claims/fullname
Role/Permission Configuration
- Expand the Role/Permission Configuration section, and then expand the Permissions as well as the Role Mapping sections.
- Click Add Permission and specify the service provider specific permission that you want to add.
- Click Add Role Mapping and enter appropriate values for the Local Role as well as the Service Provider Role.
Inbound Authentication Configuration
- Go to SAML2 Web SSO Configuration.
- Click on Configure.
- In Register New Service Provider page, select Mode as URL Configuration.
- Copy the Metadata URL from Service Provider Metadata tab in the plugin.
- Paste the URL in the text box under Upload Service Provider Metadata from Url.
- Click on the Upload button.
- Click on the OK button.
Identity Provider Metadata
- Under Inbound Authentication Configuration , click on SAML2 Web SSO Configuration.
- Click Edit besides the Issuer of your Service Provider.
- You can verify the details of your Service Provider here.
- Check the Enable Attribute Profile and Include Attribute in the Response Always for Attribute Mapping.
- Click on Download IDP Metadata button.
- Click on Update button.
- Keep this IDP metadata handy for configurations in the plugin.
You have successfully configured WSO2 as SAML IdP (Identity Provider) for achieving WSO2 SSO login into your WordPress (WP) Site.
Step 2: Configure WordPress as SP (Service Provider)
- Free
- Standard
- Premium
You have successfully configured WordPress (WP) as SAML SP for achieving WSO2 SSO login into your WordPress (WP) Site.