Guide: Joomla OAuth Client Integration with WSO2 Single Sign-On (SSO) | WSO2 SSO


Integration of WSO2 Single Sign-on (WSO2 SSO) with Joomla using OAuth 2.0 Protocol. The miniOrange Joomla OAuth / OpenID Connect Single Sign-on (SSO) plugin makes it simple to set up WSO2 SSO into Joomla and enable secure login into Joomla. As a result, users can log in to Joomla and access the site by authenticating with their WSO2 OAuth provider credentials.
Visit our Joomla OAuth Client Plugin webpage to learn more about the features and plans we offer for the Joomla OAuth Single Sign-on (OAuth & OpenID connect) plugin.

Plugin Download

Joomla OAuth Client Handbook

This detailed Handbook for the Joomla OAuth/OpenID Single Sign On plugin, gives an in depth explanation of the features of the plugin. You can refer to the handbook at anytime - it is always available to you, either via this link , or directly from the plugin for quicker access.

Setup WSO2 as OAuth Provider and Joomla OAuth Client

  • Download the zip file for the miniOrange OAuth Client plugin for Joomla from the link here .
  • Login into your Joomla site’s administrator console.
  • From Menu, click on System, then under Install section click on Extension.
  • WSO2 Single Sign-On (SSO) OAuth/OpenID
  • Upload the downloaded zip file to install the Joomla OAuth Client plugin.
  • WSO2 Single Sign-On (SSO) OAuth/OpenID
  • After successful installation of plugin, click on Start Using miniOrange OAuth Client plugin button.
  • WSO2 Single Sign-On (SSO) OAuth/OpenID
  • Copy the Callback/Redirect URL from Configure OAuth tab of Joomla OAuth Client plugin.
  • WSO2 Single Sign-On (SSO) OAuth/OpenID
  • First, let’s register this Consumer App in WSO2 IS. Download and start WSO2 IS.
  •  WSO2 Oauth client, sso-appregister-wso2
  • Once logged in, go to Main -> Service Provider and click on Add.
  • WSO2 Single Sign-On SSO into Joomla,-sso-sp-Add
  • Enter the Service Provider Name and Description and click on Register.
  • WSO2 Single Sign-On SSO into Joomla, Enter-spname-description
  • Now go to the Service Provider->List and edit the Service Provider you have created.
  • Scroll down and select Inbound Authentication Configuration and then select OAuth/OpenID Connect Configuration and click on Configure.
  • WSO2 Single Sign-On SSO into Joomla, Configure
  • Select the OAuth Version 2.0 and enter the Redirect/Callback URL from which is copied from here. Click on Add button.
  • WSO2 Single Sign-On SSO into Joomla, CallbackURL
  • When the app has been added, Client ID and Client Secret are generated for the application. Configure the Joomla OAuth SSO plugin with Client ID, Client Secret, Authentication and Access Token, Get User Info Endpoint of WSO2. Endpoints are provided at the bottom of this guide.
  • WSO2 Single Sign-On SSO into Joomla, Getclient-secret
  • Attribute Mapping: To get attributes from WSO2 you have to add following Claim URIs in your WSO2 application.
  • Go to Service Provider->Claim Configuration.
  • Select https://wso2.org/claims/emailaddress from Subject Claim URI dropdown.
  • Add following URIs in Service Provider Claim Dialect: https://wso2.org/oidc/claim & https://wso2.org/claims
  • WSO2 Single Sign-On SSO into Joomla, Claim-url
  • Now go to the Joomla OAuth Client plugin, under Configure OAuth tab, enter the all the details. Then click on Save Settings and then click on Test Configuration.
  • WSO2 Single Sign-On (SSO) OAuth/OpenID
  • You have successfully completed your WSO2 Server side configurations.

  • WSO2 Endpoints and Scope:


    Scope: openid
    Authorize Endpoint: https://<wso2-app-domain>/oauth2/authorize
    Access Token Endpoint: https://<wso2-app-domain>/oauth2/token
    Get User Info Endpoint: https://<wso2-app-domain>/oauth2/userinfo
    Custom redirect URL after logout: [optional] https://<wso2-app-domain>/oidc/logout?id_token_hint=<id_token>&post_logout_redirect_uri=<redirect URI>&state=<state>

Attributes Mapping and SSO with WSO2

  • Once you click on Test Configuration button, You will be able to see the attributes in the Test Configuration output as follows.
  •  WSO2 Single Sign-On (SSO) OAuth/OpenID
  • Now you have to do Attribute Mapping to perform SSO. Select the attribute name for Email and Username from dropdown. Then click on Save Attribute Mapping button.
  •  WSO2 Single Sign-On (SSO) OAuth/OpenID
  • Now you can use Login / SSO URL to perform SSO.
  •  WSO2 Single Sign-On (SSO) OAuth/OpenID

Using our Joomla OAuth Client plugin, you have successfully configured Joomla WSO2 Single Sign-On (SSO) by WSO2 as OAuth Provider and Joomla as OAuth Client. This solution ensures that you are ready to provide safe access to your Joomla site using WSO2 login credentials in minutes.

Additional Resources


Mail us on joomlasupport@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