Search Results :

×

Configure Slack Single Sign-On (SSO) with Joomla OAuth Client Plugin

This guide will walk you through configuring our Joomla OAuth Client extension to enable secure login with miniOrange. By the end of this setup, your users will be able to sign into your Joomla site using their miniOrange credentials, providing a seamless and secure Single Sign-On (SSO) experience.

This integration delegates the authentication process to miniOrange, a robust identity platform. This means you can centralize user management and utilize miniOrange's advanced security features directly for your Joomla site. Our extension acts as the bridge, handling the complex OAuth 2.0 protocol behind the scenes.


This guide provides a complete walkthrough for setting up our Joomla OAuth Client extension to enable user login via Slack. This integration is perfect for internal company portals, project collaboration sites, and private online communities that use Slack as their primary communication hub.

By implementing "Sign in with Slack", you can offer your team members a frictionless login experience, allowing them to access your Joomla site with the same credentials they use every day.

  • 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 search for custom OAuth or custom OpenID application in the search bar, and configure your own custom provider.
Get Started with OAuth Client Setup

  • 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 the OAuth Server, then click on the Save & Next button.
Get Started with OAuth Client Setup

  • First login to your Slack account.
  • You will be presented with the following screen. Click on Create new App.
Slack Dashboard

  • Choose how you’d like to configure your app’s scopes and settings.
Create new app

  • You will be shown a form where you have to enter Application Name and Development Slack Workspace. Fill the form with appropriate information and click on Create App.
Enter App name

  • After creating the slack application, you will be brought to Application Management page. Scroll down to “App Credentials” section. Here you will find given Client ID and Client Secret for your slack application.
Copy Client ID and Secret

  • Now go to OAuth & Permissions.
Go to OAuth & Permissions

  • In Slack application's Redirect URLs section, Click on Add New Redirect URL and enter the Callback/Redirect URL which we copied earlier. Click on Save URLs.
Add redirect URL

  • Go to OAuth & Permissions, select users.profile:read scope from Select Permission Scopes dropdown list and Save Changes.
Set Scopes

  • Go back to your Joomla Dashboard. Then go to Step 2 [Client ID & Secret].
  • Paste the Client ID, Client Secret and Domain. 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 miniOrange as a custom OAuth or OIDC provider.
Scope users.profile:read
Authorize Endpoint https://slack.com/oauth/authorize
Access Token Endpoint https://slack.com/api/oauth.access
Get User Info Endpoint https://slack.com/api/users.profile.get
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 [Attribute Mapping] 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 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.
Upload IdP
    Metadata

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