Are you looking to simplify user access and enhance security on your WordPress site? Integrating WordPress OneLogin SSO with our can help you achieve just that. This guide will walk you through the process of setting up OneLogin as your SAML Identity Provider (IDP) for WordPress to enable OneLogin WordPress Single Sign-On. By following these steps, you’ll provide a easy login experience while leveraging OneLogin’s security features.
Getting Started with OneLogin WordPress Single Sign-On Plugin
Before You Dive In:
- Log into WordPress:
- Begin by accessing your WordPress admin account. Simply head over to the WordPress login page and enter your credentials to log in.
- Install the KeyWoot WordPress SAML SSO Plugin:
- From your WordPress Dashboard, navigate to Plugins → Add New.
- In the search bar, type in “KeyWoot Single Sign-On (SSO) plugin.” Locate the plugin from the search results, click on Install Now, and then select Activate to enable it on your site.
- Access Service Provider Metadata:
- Navigate to the KeyWoot SAML SSO plugin settings.
- Locate the Service Provider Metadata section.
- Note down the SP Entity ID and ACS (Assertion Consumer Service) URL. These are key pieces of information for setting up OneLogin SSO for WordPress.
Configuring OneLogin as Your Identity Provider (IdP)
To set up OneLogin as your Identity Provider, follow these steps:
Configure OneLogin WordPress Login as on the website
- Create Application in OneLogin Dashboard:
- Log in to your OneLogin portal and go to the Administration page if you are not on administration page.
- Click on Applications and then the next page click on Add App as shown in the screenshot.
- Search for SAML Custom Connector and select SAML Custom Connector (Advanced).
- Enter a Display Name for your application name like “WordPress OneLogin SSO” and click Save.
- Please Click on the Configuration tab.
- Enter the required details and click Save.
- Note: You can find the SP Entity ID and ACS URL in the SP metadata of the plugin. Please refer to the screenshot of the WordPress admin dashboard for guidance.
- Input values from the KeyWoot SAML SSO Plugin Service Provider Metadata page into the OneLogin application configuration.
- Save the application details.
- Log in to your OneLogin portal and go to the Administration page if you are not on administration page.
- Assign Users to the Application:
- Click on Users and select the necessary users.
- Choose a user
After clicking on a selected user, You will see a page like below , click on applications then click on + icon to Assign users to the newly created application.- Click on Applications, then Add Application, and select the appropriate application.
- Select the apllication and click Continue
- Click Continue and then Save.
- Click on Users and select the necessary users.
- Configure WordPress Plugin:
Now got to applications tab on top again and choose your application- Download the metadata file from OneLogin by clicking More Actions > SAML Metadata.
- Now got to your WordPress dashboard In the plugin, click Upload IDP Metadata, enter the Identity Provider name, and upload the metadata file.
- Navigate to the Identity Provider Setup page in the plugin.
- Select the configured OneLogin IDP and click Test Configuration.
OneLogin Attribute Mapping in WordPress OneLogin SSO Plugin
Note: Attribute mapping is available only in premium plans.
- Configure Attributes in OneLogin:
- Go to the Parameters tab in your OneLogin application.
- Click Add new, enter a Field name, and select Include in SAML assertion.
- Save the new field.
- Test Configuration:
- Navigate to the Identity Provider Setup page in the plugin.
- Select the configured OneLogin IDP and click Test Configuration.
- Log in with a OneLogin account assigned to the application to verify attribute fetching.
- Map Attributes in WordPress:
- Go to the Attribute/Role Mapping page in the plugin.
- Map the OneLogin attributes to WordPress user attributes.
- Save the configuration.
OneLogin Role Mapping
WordPress includes the following pre-defined roles: Administrator, Editor, Author, Contributor, Subscriber, and Customer.
- Set Up Role Mapping:
- Access the Attribute/Role Mapping page in the plugin.
- In the Role Mapping section, select a WordPress role to map.
- Click Save.
OneLogin SSO Login Button – Redirect to IDP
To enable your OneLogin WordPress login buttons, navigate to the SSO Links tab. Follow the instructions on the SSO Login Widget page to complete the setup.
Conclusion
Setting up WordPress OneLogin SSO can greatly enhance your site’s security and user management. By following this guide, you’ll be able to integrate OneLogin WordPress login (OneLogin as your SAML IDP), configure attribute and role mappings, and add a convenient SSO login button on your WordPress site for OneLogin WordPress login. For any additional help or advanced configuration, refer to the WordPress OneLogin SSO plugin documentation or reach out to us.