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. The Google Apps OAuth Joomla plugin also provides advanced features such as, Auto create users, Attribute Mapping, Group Mapping etc. 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.


Youtube-color Created with Sketch.

To setup OAuth Single Sign-On between Joomla and Google Apps, you can also follow this step by step Setup Video.

In this configuration, Google Apps functions as the OAuth server, while Joomla allows users to log in with their Google Apps credentials by utilizing the Joomla OAuth Client Plugin.

  • Login into your Joomla site’s Administrator console.
  • From left toggle menu, click on System, then under Install section click on Extensions.
  • Now click on Or Browse for file button to locate and install the plugin file downloaded earlier.
  • Installation of plugin is successful. Now click on Get Started!
  • Under Configure OAuth -> Pre-Configured Apps tab, select your OAuth Provider. You can also configure your own custom provider, by navigating to the Custom Application tab.
Get Started with OAuth Client Setup

  • After selecting your OAuth provider, copy the Callback/Redirect URL which we will use to configure the OAuth Server, then click on the Save & Next button.
Get Started with OAuth Client Setup

  • Go to Google Apps Console and Sign Up/Login into your Dashboard. Here, Click on the Select Project button.
Google Apps Console Dashboard

  • Click on New Project to create a new Google Apps Project for Joomla OAuth Client.
Click on New Project

  • Enter the Project name in the given field and click on the Create button. After the project is created you may have to select the newly created project from the Project Picker (The Select Project button).
Enter project details

  • Now click on the APIs & Services button from the Quick Access section. You can also find the APIs & Services button in the sidebar.
Quick Access Project Dashboard

  • Now click on Credentials button in the sidebar.
Quick Access Project Dashboard

  • Now click on Configure consent screen button. Then. click on the Get started button.
Configure consent

Get started with setting up project app

  • Now enter the App information, select the Target Audience, enter Contact Information, and agree to the Terms & Conditions. Then, click on the Create button.
Project Configuration

Project Configuration

Project Configuration

Project Configuration

  • Now go to the Data Access tab.
Go to Data Access tab

  • Here, click on the Add or remove scopes button. And select the scopes you want the project to access. Then, click on the Update button.
Add or remove scopes

Add or remove scopes

  • Now, go to the Client tab from the sidebar. Then, click on the Create Client button.
Create Client

Create Client

  • Here select Web application from the dropdown. Then enter the App Name and enter the redirect URI we copied earlier in Step 1. Then, click on the Create button.
Create Client App

Create Client App

  • Now copy the Client ID & Client Secret. You can also download the JSON file and store it for backup.
Save Client secrets

  • Go back to your Joomla Dashboard. Then go to Step 2 in the Configure OAuth tab.
  • Enter the Client ID, Client Secret and Scope in the given fields. Also Set Client Credentials In Header and Body then click on Save Settings. Once Settings are saved then click on Save Configuration.
Upload IdP
    Metadata

  • Scope & Endpoints are given below, which are required for configuring Joomla as OAuth Client plugin to configure Google Apps as a custom OAuth or OIDC provider.
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)

  • 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 in the Configure OAuth tab and click on Test Configuration button.
Upload IdP
    Metadata

  • You will be able to see the attributes in the Test Configuration output as follows.
Upload IdP
    Metadata

  • Now select the attribute name for Email and Username from dropdown. Then click on Finish Configuration button.
Upload IdP
    Metadata

  • Now go to Step 4, here copy the Login/SSO URL and add it to your Site.
Upload IdP
    Metadata

  • 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.


ADFS_sso ×
Hello there!

Need Help? We are right here!

support