WSO2 as IDP for WordPress SSO

WordPress SAML SP Single Sign-On plugin gives the ability to enable SAML Single Sign-On for your Wordpress sites. Our plugin is compatible with all the SAML compliant Identity providers. Here we will go through a step-by-step guide to configure SSO between Wordpress site and WSO2 by considering WSO2 as IdP.

miniorange img  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:

Step 1: Setup WSO2 as Identity Provider

Follow the steps below to 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.
  • wordpress saml upload metadata
  • Login to your WSO2 admin console.
  • From the left navigation menu, select Add under Service Provider tab.
  • wso2 sso-1
  • 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
    • wso2 sso-2
  • miniorange img Basic Information

    • Select SP Certificate Type: Use SP JWKS endpoint
    • SaaS Application: Checked (Optional)
    • wso2 sso-2

    miniorange img 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
    • wso2 sso-1

    miniorange img 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.
    • wso2 sso-1

    miniorange img Inbound Authentication Configuration

    • Go to SAML2 Web SSO Configuration.
    • Click on Configure.
    • wso2 sso-1
    • 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.
    • wso2 sso-1
    • Click on the OK button.
    • wso2 sso-1

    miniorange img Identity Provider Metadata

    • Under Inbound Authentication Configuration, click on SAML2 Web SSO Configuration.
    • Click Edit besides the Issuer of your Service Provider.
    • wso2 sso-1
    • 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.
    • wso2 sso-1
    • Keep this IDP metadata handy for configurations in the plugin.