Search Results :

×

Joomla OAuth Client Integration with Google Apps Single Sign-On (SSO)


Streamline your Joomla user experience with seamless Google Apps Single Sign-on (G Suite SSO) integration using the powerful OAuth 2.0 Protocol. With the miniOrange Joomla OAuth / OpenID Connect Single Sign-on (SSO) plugin, setting up Google Apps SSO into Joomla becomes effortless, ensuring a secure login process. This allows users to access the Joomla site easily and securely by authenticating with their Google Apps OAuth Provider credentials.

Visit our Joomla OAuth Client Plugin page to learn more about the features and Pricing plans we offer for the Joomla OAuth Single Sign-on (OAuth & OpenID connect) plugin.

Pre-requisites : Download And Installation

Steps to Install Joomla OAuth Client Plugin

  • Download the zip file for the miniOrange OAuth Client plugin for Joomla.
  • Login into your Joomla site’s administrator console.
  • From left toggle menu, click on System, then under Install section click on Extension.
  • Upload the downloaded zip file to install the Joomla OAuth Client plugin.
  • Installation of the plugin is successful. Now click on Start Using miniOrange OAuth Client plugin.
  • Under Configure OAuth -> Pre-Configured Apps tab, select your OAuth Provider. You can also search for custom OAuth or custom OpenID application in the search bar, and configure your own custom provider.
  • Joomla OAuth Single Sign-On SSO - Select your OAuth Provider

Setup Google Apps as OAuth Provider with Joomla OAuth Client

1. Configure Callback/Redirect URL

  • After selecting your OAuth provider, you will be redirected to the Step 1 [Redirect URL] tab. Now copy the Callback/Redirect URL which we will use to configure Google Apps as OAuth Server, then click on the Save & Next button.
  • Google Apps OAuth Single Sign-On SSO into Joomla - Copy Redirect URL
  • Go to Google Apps login Dashboard and sign up/login.
  • Google Apps Login Dashboard
  • Click on Select Project to create a new Google Apps Project for Joomla OAuth Client, you will see a popup with the list of all your projects.
  •  Google Apps G Suite SSO Joomla create new project
  • You can click on the New project button to create new project for Google apps as OAuth server.
  • Google Apps G Suite SSO Joomla  create new project
  • Enter your Project name under the Project Name field and click on Create.
  •  G Suite SSO with Joomla OIDC OAuth, Google Apps SSO for Joomla, enter project name
  • Go to Navigation MenuAPIsServicesCredentials.
  •  G Suite SSO with Joomla OIDC OAuth, Google Apps SSO for Joomla, credentials
  • Click on Create Credentials button and then select OAuth Client ID from the options provided.
  •  G Suite SSO with Joomla OIDC OAuth, Google Apps SSO for Joomla, OAuth client id
  • In case you are facing some warning saying that in order to create an OAuth Client ID, you must set a product name on consent screen (as shown in below image). Click on the Configure consent screen button.
  •  G Suite SSO with Joomla OIDC OAuth, Google Apps SSO for Joomla, configure consent screen
  • Enter the required details such as App Name, User Support Email and click on Save and Continue button.
  •  G Suite SSO with Joomla OIDC OAuth, Google Apps SSO for Joomla, save settings  G Suite SSO with Joomla OIDC OAuth, Google Apps SSO for Joomla, save settings
  • Now for configuring scopes, click on Add or Remove the Scopes button.
  •  G Suite SSO with Joomla OIDC OAuth, Google Apps SSO for Joomla, create oauth client id
  • Now, select the Scopes to allow your project to access specific types of private user data from their Google Account and click on Update button.
  •  G Suite SSO with Joomla OIDC OAuth, Google Apps SSO for Joomla, create oauth client id
  • Go to the Credentials tab and click on Create Credentials button. Select Web Application from dropdown list to create new application.
  •  G Suite SSO with Joomla OIDC OAuth, Google Apps SSO for Joomla, create oauth client id
  • Enter the name you want for your Client ID under the name field and enter the Redirect/Callback URI from miniOrange OAuth Client plugin under the Authorized redirect URIs field and click on Create button.
  •  G Suite SSO with Joomla OIDC OAuth, Google Apps SSO for Joomla, create oauth client id

2. Configure Client ID and Secret

  • Next, you will see a popup with the Client ID and Client Secret Copy your Client ID and Client Secret.
  •  G Suite SSO with Joomla OIDC OAuth, Google Apps SSO for Joomla, client id client secret
  • Go to the Step 2 [Client ID & Secret] tab of the Joomla OAuth Client plugin, here paste the Client ID, Client Secret and Tenant. Click on the Save Configuration button.
  • Microsoft Entra ID OAuth Single Sign-On SSO into Joomla - Save Configuration

2.1. Scope & Endpoints

    Google Endpoints and Scope:

    Client ID:
    Client Secret:
    Scope:
    Openid email Profile
    Authorize Endpoint:
    https://accounts.google.com/o/oauth2/auth
    Access Token Endpoint:
    https://www.googleapis.com/oauth2/v4/token
    Get User Info Endpoint:
    https://www.googleapis.com/oauth2/v1/userinfo
    Set Client Credentials:
    In Both (In Header and In Body)

3. Configure Attribute Mapping

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

  • Go to Step 3 [Attribute Mapping] tab and click on Test Configuration button.
  • OAuth Single Sign-On SSO into Joomla - Test Configuration
  • You will be able to see the attributes in the Test Configuration output as follows.
  • OAuth Single Sign-On SSO into Joomla - Configuration output
  • Now go to the Step 3 [Attribute Mapping] tab and Select the attribute name for Email and Username from dropdown. Then click on Finish Configuration button.
  • OAuth Single Sign-On SSO into Joomla - Attribute Mapping

4. Setup Login/SSO URL

  • Now go to Step 4 [SSO URL] tab, here copy the Login/SSO URL and add it to your Site by following the given steps.
  • OAuth Single Sign-On SSO into Joomla - Login/SSO URL
  • 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.

In this guide, you have successfully configured Joomla Google Apps Single Sign-On (SSO) by configuring Google Apps 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 Google Apps 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