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 Single Sign On (SSO) upload metadata
  • Login to your WSO2 admin console.
  • From the left navigation menu, select Add under Service Provider tab.
  • SAML Single Sign-On (SSO) using WSO2 as Identity Provider(IdP), WSO2 SSO Admin-Console
  • 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
    • SAML Single Sign-On (SSO) using WSO2 as Identity Provider(IdP), WSO2 SSO Add new Service Provider
  • miniorange img Basic Information

    • Select SP Certificate Type: Use SP JWKS endpoint
    • SaaS Application: Checked (Optional)
    • SAML Single Sign-On (SSO) using WSO2 as Identity Provider(IdP), WSO2 SSO Service Provider

    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
    • SAML Single Sign-On (SSO) using WSO2 as Identity Provider(IdP), WSO2 SSO Claim Configuration

    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.
    • SAML Single Sign-On (SSO) using WSO2 as Identity Provider(IdP), WSO2 SSO Configuration roles and Premissions Configuration

    miniorange img Inbound Authentication Configuration

    • Go to SAML2 Web SSO Configuration.
    • Click on Configure.
    • SAML Single Sign-On (SSO) using WSO2 as Identity Provider(IdP), WSO2 SSO Inbound authentication configuration
    • 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.
    • SAML Single Sign-On (SSO) using WSO2 as Identity Provider(IdP), WSO2 SSO Register new provider
    • Click on the OK button.
    • SAML Single Sign-On (SSO) using WSO2 as Identity Provider(IdP), WSO2 SSO Service Provider

    miniorange img Identity Provider Metadata

    • Under Inbound Authentication Configuration, click on SAML2 Web SSO Configuration.
    • Click Edit besides the Issuer of your Service Provider.
    • SAML Single Sign-On (SSO) using WSO2 as Identity Provider(IdP), WSO2 SSO Identity provider metadata
    • 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.
    • SAML Single Sign-On (SSO) using WSO2 as Identity Provider(IdP), WSO2 SSO Management console
    • Keep this IDP metadata handy for configurations in the plugin.