Search Results :

×

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


The Joomla OAuth Client plugin allows your Joomla users to log in with their Discord credentials, through OAuth 2.0 Protocol. This plugin allows you to configure Discord as an OAuth provider and Joomla as an OAuth client, and also provides features such as user attribute mapping, role mapping, and login/logout settings. In this guide, you will learn how to install and configure the Joomla OAuth Client plugin.

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 Discord 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 Microsoft Entra ID as OAuth Server, then click on the Save & Next button.
  • Microsoft Entra ID OAuth Single Sign-On SSO into Joomla - Copy Redirect URL
  • Log in to Discord Console & click on New Application
  • Discord SSO for Joomla, Login New Application
  • After clicking on the New Application button it will show you the popup for providing a name to the application. Click on the Create button after providing the application name.
  • Click on the Add Redirect button, and paste the Callback URL in the Redirects field. Then, click on the Save Changes button.
  • Discord SSO for Joomla, Login Redirect URL

2. Configure Client ID and Secret

  • To get the Client ID and Client Secret navigate to OAuth2 Section. Copy the Client ID and Client Secret.
  • Note: To obtain the Client Secret after creating your client for the first time you will have to reset the Client Secret.

    Discord SSO for Joomla, Client ID Client Secret
  • Now go to Configure OAuth > Step 2 [Client ID & Secret] tab of Joomla OAuth Client Plugin. Then paste the Client ID and Client Secret and Endpoints. Then click on Save Configuration button.
  • Discord SSO for Joomla, Login Redirect URL
  • All the details have been saved successfully.

2.1. Scopes and Endpoints

  • Discord Endpoints and scope: (for reference)
  • Scope:
    identify email
    Authorize Endpoint:
    https://discordapp.com/api/oauth2/authorize
    Access Token Endpoint:
    https://discordapp.com/api/oauth2/authorize
    Get User Info Endpoint:
    https://discordapp.com/api/users/@me
    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.

Congratulations, you have successfully configured the miniOrange OAuth Client plugin with your Discord 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.

Joomla Discord Integration

Joomla Discord Integration

Joomla Discord Integration is used to perform Single Sign-On to Joomla from Discord, synchronize the user data from Discord to Joomla and vice versa, and Role/Group mapping between Joomla and Discord.


Using our Joomla OAuth Client plugin, you have successfully configured Joomla Discord Single Sign-On (SSO) by Discord as OAuth Provider and Joomla as OAuth Client. This solution ensures that you are ready to provide safe access to your Joomla site using Discord login credentials in 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