SAML Single Sign-On (SSO) for WordPress using RSA SecurID as IDP | RSA SecurID SSO Login
Overview
RSA SecurID 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 RSA SecurID by considering RSA SecurID 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
Configuration Steps
Step 1: Configure RSA SecurID as IDP
Configure RSA SecurID 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 RSA SecurID Access (Cloud Console) as Admin.
- In the top navigation menu, click on Applications → Application Catalog.
- Click Create From Template button on the top right corner.
- Click on Select Button next to the SAML Direct, in the Choose Connector Template page.
- Fill the required information in the Basic Information.
- Name: Name of the application for eg. miniOrange Plugin.
- Description (Optional): Description for your application.
- Disabled [a checkbox] (optional): Select this only if you want to make this application unavailable to users. When disabled, the application appears in My Application but does not appear in the RSA application portal.
- Now click on the Next Step button.
Connection Profile
- Click on Import Metadata button.
- Upload the miniOrange plugin’s metadata file. You can download the plugin's metadata file from the Service Provider Metadata tab of the plugin.
- Verify the configured URLs and clicks on the Save button on the top right corner of Import SAML Metadata window page.
- Check if plugin metadata is imported successfully.
Initiate SAML Workflow
- Select SP-Initiated, if you want the SSO should be invoked from application or select IDP-initiated, if you want the user should log in into RSA first and then access application from his RSA Dashboard.
- Configure base URL of your application as Connection URL or you can leave it blank if IDP-initiated is selected.
- Binding Method for SAML Request: POST
(Note: The free version of WP SAML SSO Plugin supports only POST binding for SAML Requests.)
- Signed [a checkbox]: Uncheck
(Note: The free version of WP SAML SSO Plugin doesnot support signed SAML requests. If you are using the paid versions of the plugin, you can send signed SAML requests)
SAML Identity Provider (Issuer)
- Identity Provider URL: Note this value, it will be used as the SAML Login URL to configure the plugin.
- Issuer Entity ID: Default
(Note: This is the IdP Entity ID or Issuer used to configure in the plugin)
- SAML Response Signature: Upload the private key and the certificate which will be used to sign the SAML Response or you can generate new key pair by clicking on the Generate Cert Bundle button.
- Include Certificate in Outgoing Assertion: Enable (Optional)
Service Provider
- Assertion Consumer Service URL and Audience URL should be preconfigured if you have uploaded plugin’s metadata in the Connection Profile section. If not, you can find the required URLs from Service Provider Metadata tab of the miniOrange SAML plugin and update the URL here.
User Identity
- Configure NameID information that identifies the user who is generating the SAML Assertion.
Advanced Configuration: Attribute Extention (Optional)
- Configure additional user information to be sent to the Application in the SAML Response. For example, username, email, display name, groups etc.
- Now click on Next Step button.
User Access
- Select the access policy as Allow all Authenticated Users and click on Next Step button.
Portal Display
- Configure application display settings for RSA end users like app icon etc.
- Now click on Save and Finish button to save the settings.
- Now, from the top navigation bar, click Applications -> My Applications.
- Find the app that you have configured. Click on down arrow besides the app's name and click on Export Metadata.
- Keep the metadata handy, it will be required to configure miniOrange plugin.
- Finally, click on Publish Changes button in the top left corner of the RSA Admin Console to publish this app configuration.
You have successfully configured RSA SecurID as SAML IDP (Identity Provider) for achieving RSA SecurID SSO login into your WordPress (WP) Site.
Step 2: Configure WordPress as SP (Service Provider)
In the WordPress SAML SSO plugin, go to the Service Provider Setup tab of the plugin. There are two
ways to configure the WordPress SSO plugin:
A. By uploading IDP metadata:
- Click on Upload IDP metadata button.
- Enter the Identity Provider Name
- You can either upload a metadata file and click on Upload button or use a
metadata URL and click on Fetch Metadata.
B.Manual Configuration:
- Provide the required settings (i.e. Identity Provider Name, IDP Entity ID or Issuer, SAML Login
URL, X.509 Certificate) as provided by your Identity Provider and click on the Save
button.
- Click on Test configuration to check the attributes and values sent by IDP.
Step 3: Attribute Mapping
- In the free plugin, only NameID is supported for Email and Username attributes of the
WordPress user.
- When a user performs SSO, the NameID value sent by the IDP will get mapped to the email and
username of the WordPress user.
In the WordPress SAML SSO plugin, go to the Service Provider Setup tab of the plugin. There are two
ways to configure the WordPress SSO plugin:
A. By uploading IDP metadata:
- Click on Upload IDP metadata button.
- Enter the Identity Provider Name
- You can either upload a metadata file and click on Upload button or use a
metadata URL and click on Fetch Metadata.
B.Manual Configuration:
- Provide the required settings (i.e. Identity Provider Name, IDP Entity ID or Issuer, SAML Login
URL, X.509 Certificate) as provided by your Identity Provider and click on the Save
button.
- Click on Test configuration to check the attributes and values sent by IDP.
Step 3: Attribute Mapping
- Attribute Mapping feature allows you to map the user attributes sent by the IDP
during SSO to the user attributes at WordPress.
- In WordPress SAML plugin, go to Attribute/Role Mapping tab and fill up the following
fields in Attribute Mapping section.
NOTE: If you click on Test Configuration button in Service Provider Setup tab and
authenticate with your IDP, you can see a list of attributes sent by the IDP in the
Attribute/Role mapping tab. This information can be used to
provide the above mapping.
In the WordPress SAML SSO plugin, go to the Service Provider Setup tab of the plugin. There are two
ways to configure the WordPress SSO plugin:
A. By uploading IDP metadata:
- Click on Upload IDP metadata button.
- Enter the Identity Provider Name
- You can either upload a metadata file and click on Upload button or use a
metadata URL and click on Fetch Metadata.
- In the Premium plugin, you can enable auto-sync for the metadata URL which
will auto-update the plugin configuration as per the IDP metadata after a set interval of time
B.Manual Configuration:
- Provide the required settings (i.e. Identity Provider Name, IDP Entity ID or Issuer, SAML Login
URL, X.509 Certificate) as provided by your Identity Provider and click on the
Save button.
- Click on Test configuration to check the attributes and values sent by IDP.
-
In the Premium Plugin, you can provide the SAML Logout URL to achieve Single Logout on your
WordPress site.
Step 3: Attribute Mapping
-
Attribute Mapping feature allows you to map the user attributes sent by the IDP
during SSO to the user attributes at WordPress.
-
In WordPress SAML plugin, go to Attribute/Role Mapping tab and fill up the following
fields in Attribute Mapping section.
-
Custom Attribute Mapping: This feature allows you to map any attribute sent by the
IDP to the usermeta table of WordPress.
Step 4: Role Mapping
- In the free plugin, you can choose a Default Role which will be assigned to all the
non-admin users when they perform SSO.
- Go to Attribute/Role mapping tab and navigate to Role Mapping section.
- Select the Default Role and click on the Update button.
Step 4: Role Mapping
In the standard plugin, you can choose a default role which will be assigned to all the non-admin
users when they perform SSO.
- Go to Attribute/Role mapping tab and navigate to Role Mapping section.
- Select the Default Role and click on the Save button.
Step 4: Role Mapping
This feature allows you to assign and manage roles of the users when they perform SSO. Along with
the default WordPress roles, this is compatible with any custom roles as well.
- From the Attribute Mapping section of the plugin, provide a mapping for the field named
Group/Role. This attribute will contain the role related information sent by the IDP and
will be used for Role Mapping.
- Navigate to role mapping section and provide the mappings for the highlighted roles.
-
For example, If you want a user whose Group/Role attribute value is wp-editor to be
assigned as an Editor in WordPress, just provide the mapping as wp-editor in the Editor
field of Role Mapping section.
Step 5: SSO settings
- In the free plugin you can add a Single Sign-On button by enabling Add a Single Sign-On
button on the WordPress Login Page toggle in Option 1.
- If your WordPress theme supports login widget, you can add a login widget to enable SP-Initiated
SSO on your site.
- Navigate to Redirection and SSO links tab and follow the given steps given under Option 2:
Use a Widget to add a login widget on your site.
Step 5: SSO settings
In the Standard plugin you can enable SP-initiated SSO using the following options.
Related Articles