Search Results :

×

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


Integration of Google Apps Single Sign-on (Gsuite 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 Google Apps 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 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.

Joomla OAuth Client Handbook

Please refer our detailed Handbook for the Joomla OAuth/OpenID Single Sign-On plugin, which gives an in-depth explanation of the various features of the plugin. You can get to the handbook at anytime directly from the plugin's UI for quicker access.

Pre-requisites : Download And Installation

Setup Google Apps as OAuth Provider with Joomla OAuth Client

Follow the steps given below to setup the Joomla OAuth Client plugin. You can also refer to this Setup video for configuring the plugin.

1. Download and Setup Joomla OAuth Client

  • Download the zip file for the miniOrange OAuth Client plugin for Joomla from the given link.
  • Login into your Joomla site’s administrator console.
  • From Menu, click on System, then under Install section click on Extension.
  • Google Apps, Gsuite Single Sign-On (SSO) OAuth/OpenID
  • Upload the downloaded zip file to install the Joomla OAuth Client plugin.
  • Google Apps, Gsuite Single Sign-On (SSO) OAuth/OpenID
  • After successful installation of plugin, click on Start Using miniOrange OAuth Client plugin button.
  • Google Apps, Gsuite Single Sign-On (SSO) OAuth/OpenID
  • Under Configure OAuth tab. Select Google Apps as an OAuth Provider.
  • Google Apps Single Sign-On (SSO) OAuth/OpenID
  • Copy the Callback/Redirect URL from Configure OAuth tab of Joomla OAuth Client plugin. We will require it later.
  • Google Apps, Gsuite Single Sign-On (SSO) OAuth/OpenID

2. Configure Google Apps as OAuth Provider

  • Go to https://console.developers.google.com/ 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 Save and Continue 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
  • You will see a popup with the Client ID and Client Secret Copy your Client ID and Client Secret and save it on your miniOrange OAuth Client plugin Configuration.
  •  G Suite SSO with Joomla OIDC OAuth, Google Apps SSO for Joomla, client id client secret

3. Integrating Joomla with Google Apps

  • Now go to Configure OAuth tab of Joomla OAuth Client Plugin. Then paste the Client ID and Client Secret and Endpoints. then click on Save Settings.
  •  G Suite SSO with Joomla OIDC OAuth, Google Apps SSO for Joomla, client id client secret
  • You have successfully configured your Google Apps as an OAuth Server.
  • Google Endpoints and Scope:


    Client ID : Click Here
    Client Secret : Click Here
    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)

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.
  • Google Apps, Gsuite Single Sign-On (SSO) OAuth/OpenID ls
  • Now you have to do Attribute Mapping to perform SSO. Select the attribute name for Email and Username from dropdown.
  • Google Apps, Gsuite Single Sign-On (SSO) OAuth/OpenID ls
  • Now you can use Login / SSO URL to perform SSO.
  • Google Apps, Gsuite Single Sign-On (SSO) OAuth/OpenID ls
  • 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 Google Apps 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 Google Apps Single Sign-On (SSO) with Joomla for user authentication.


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