Search Results :

×

Joomla Single Sign-On (SSO) OAuth and OpenID connect | Joomla SSO Login


Get Free Trial

Configure Joomla Single Sign-On (SSO) with WordPress OAuth & OpenID Connect Single Sign-On (SSO) plugin. Enable secure login into WordPress using Joomla as OAuth and OpenID Connect provider. Joomla Single Sign-On (SSO) with WordPress allows your users to login to your WordPress and access the site by authenticating with their Joomla identity provider. You can also configure plugin using different IDPs such as Joomla, Office 365, and other custom providers. It supports advanced Single Sign-On (SSO) features such as user profile Attribute mapping, Role mapping, multi-tenant login etc. Here we will go through a guide to configure Joomla Single Sign-On (SSO) with WordPress for user authentication. By the end of this guide, users should be able to perform secure login to WordPress and access the site with Joomla SSO. To know more about other features we provide in WP OAuth Single Sign-On ( OAuth & OpenID Connect Client ) plugin, you can click here.

Pre-requisites : Download And Installation

    1. Installation Steps for WordPress

    • Log into your WordPress instance as an admin.
    • Go to the WordPress Dashboard -> Plugins and click on Add New.
    • Search for a WordPress OAuth Single Sign-On (SSO) plugin and click on Install Now.
    • Once installed click on Activate.

    2. Installation Steps for Joomla

    • Log into your Joomla instance as an admin.
    • Go to the Joomla Dashboard -> Extensions -> Manage and click on Install.
    • Seach for a Joomla OAuth Server plugin and click on Install Now.

Steps to configure Joomla Single Sign-On (SSO) Login into WordPress

1. Setup Joomla as OAuth Provider

  • Login as administrator in Joomla
  • Go to ComponentsminiOrange OAuth ServerConfigure OAuth. Click on ADD to add the client.
  • Joomla Single Sign-On (SSO) OAuth/OpenID-addapp-shortcut
  • Enter Client name as you want and enter the Authorized Redirect URI which you will get from OAuth Single Sign-On (SSO) plugin. Click on Save Client button to save the configuration.
  • Joomla Single Sign-On (SSO) OAuth/OpenID-addapp-shortcut
  • Now, you can see the Client ID and Client Secret, Keep these client credentials handy as we will require them later while configuring the WordPress OAuth Single Sign-On (SSO) Plugin.
  • Unable to load image

You have successfully configured Joomla as OAuth Provider for achieving Joomla login into your WordPress Site.


2. Setup WordPress as OAuth Client


  • Go to Configure OAuth tab and click Add New Application to add a new client application into your website.
  • Joomla  Single Sign-On (SSO) OAuth - Add new application
  • Choose your Application from the list of OAuth / OpenID Connect Providers, Here Joomla
  • Joomla Single Sign-On (SSO) OAuth - Select Application
  • Copy the Callback URL to be used in OAuth Provider Configuration and click Next.
  • Joomla Single Sign-On (SSO) OAuth - Callback URL
  • Please refer the below table for configuring the scope & endpoints for Joomla in the plugin. Click Next.

  • Client ID : from the Joomla SSO application configured
    Client Secret : from the Joomla SSO application configured
    Scope : Email
    Authorize Endpoint: https://<your-joomla-site-domain>/index.php
    Access Token Endpoint: https://<your-joomla-site-domain >/index.php
    Get User Info Endpoint: https://<your-joomla-site-domain>/plugins/system/miniorangeoauth/miniorangeoauthserver.php
  • Now, configure App Name, Authorization Endpoint, Token Endpoint, Userinfo Endpoint received from Joomla.
  • Joomla Single Sign-On (SSO) OAuth - Callback URL
  • Configure the client credentials like Client ID & Client Secret is shown in the setup dialogue box and enter the scope value as Email. Click Next.
  • Joomlaa  Single Sign-On (SSO) OAuth - Client ID & Client Secret
  • Click on the Finish button. You will see the test configuration window, click on the finish button again to make some additional settings in the plugin.
  • Joomla Single Sign-On (SSO) OAuth - Finish configuration

You have successfully configured WordPress as OAuth Client for achieving user authentication with Joomla Single Sign-On (SSO) login into your WordPress Site.


3. User Attribute Mapping

  • User Attribute Mapping is mandatory for enabling users to successfully login into WordPress. We will be setting up user profile attributes for WordPress using below settings.

  • Go to Configure OAuth tab and click on Edit Application link.
  • Now, enable the Header and Body checkbox to send the client credentials and click on Test Configuration button.
  • joomla Single Sign-On (SSO) - test configuration
  • You will see different user attributes returned by your OAuth Provider in a test configuration table. If you don't see any user attributes, make the required settings in your OAuth Provider to return this information.
  • joomla  Single Sign-On (SSO) - test configuration result
  • Once you see all the values in Test Configuration, go to Attribute / Role Mapping tab, select attributes from Username dropdown and click on Save.
  • joomla  Single Sign-On (SSO) - attribute/role mapping

You have successfully configured WordPress as OAuth Client for achieving user authentication with Joomla Single Sign-On (SSO) login into your WordPress Site.

4: Login Settings / Sign In Settings

  • The settings in Single Sign-On (SSO) Settings tab define the user experience for Single Sign-On (SSO). To add a Joomla login widget on your WordPress page, you need to follow the below steps.
  • 1. Sign in settings for wordpress 5.7 and before :

    • Go to WordPress Left Panel > Appearances > Widgets.
    • Select miniOrange OAuth. Drag and drop to your favourite location and save.
    • Joomla Single Sign-On (SSO) OAuth/OpenID WordPress create-newclient login button setting

    2. Sign in settings for wordpress 5.8 :

    • Go to WordPress Left Panel > Appearances > Widgets.
    • Select miniOrange OAuth. Drag and drop to your favourite location and save.
    • Joomla Single Sign-On (SSO) OAuth/OpenID WordPress create-newclient login button setting
    • Open your WordPress page and you can see the Joomla SSO login button there. You can test the Joomla Single Sign-On (SSO) now.

In this Guide, you have successfully configured Joomla Single Sign-On (SSO) by configuring Joomla as OAuth Provider and WordPress as OAuth Client using our WP OAuth Single Sign-On ( OAuth / OpenID Connect Client ) plugin.This solution ensures that you are ready to roll out secure access to your WordPress site using Joomla login credentials within minutes.


Additional Resources


Mail us on oauthsupport@xecurify.com for quick guidance(via email/meeting) on your requirement and our team will help you to select the best suitable solution/plan as per your requirement.

Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com