Search Results :

×

Joomla OAuth Client Integration with WSO2 Single Sign-On (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.

Pre-requisites : Download And Installation


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 with Joomla OAuth Client

1. Download and Setup 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 left toggle menu, click on System, then under Install section click on Extensions.
  • 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
  • Under Configure OAuth tab. Select WSO2 as an OAuth Provider.
  • 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

2. Configure WSO2 as OAuth Provider

  • 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

3. Integrating Joomla with WSO2

  • 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>
    Set Client Credentials: In Both (In Header and In Body)

4. Test SSO and Attribute Mapping

  • 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
  • Now logout and go to your Joomla site's pages where you have added this link. You will see a login link where you placed that button. Click on this button to perform SSO.
  • Congratulations, you have successfully configured the miniOrange OAuth Client plugin with your WSO2 OAuth Provider.
  • Click on the Upgrade Plans tab to check out our complete list of features and various licensing plans. OR you can click here to check features and licensing plans.
  • If you want to purchase any of the paid version of the plugin, you have to register/login with us in Account Setup tab. OR you can register/login Here .
  • In case, you are facing some issue or have any question in mind, you can reach out to us by sending us your query through the Support button in the plugin or by sending us a mail at joomlasupport@xecurify.com

You have successfully configured Joomla as OAuth Client for achieving Joomla WSO2 Single Sign-On (SSO) with Joomla for user authentication.


In this guide, you have successfully configured Joomla WSO2 Single Sign-On (SSO) by configuring WSO2 as OAuth Provider and Joomla as OAuth Client using our Joomla OAuth Client plugin.This solution ensures that you are ready to roll out secure access to your Joomla site using WSO2 login credentials within 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