Single Sign-On into Knack with Joomla as OAuth Server
Overview
If you want to login to your Knack site using your Joomla username and password, you can simply do it
using our
Joomla OAuth Server plugin. Once you configure the Knack with Joomla OAuth Server plugin, you can
login to your
Knack application using Joomla credentials. It also allows you to send custom user attributes to your
Knack site as per your requirements.
To know more about other features we provide in Joomla OAuth Server plugin, you can click here.
Configuration Steps
Step 1: Install Joomla OAuth Server 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 Start Using miniOrange OAuth Server plugin.
- Under the Configure OAuth tab, click on the ADD button.
Step 2: Configure Knack
- Go to the developer account of Knack and Configure the Knack as an OAuth client using the below details.
Client ID:
You can get the Client ID from Configure OAuth Tab in Joomla OAuth Server
|
Client Secret:
You can get the Client Secret from Configure OAuth Tab in Joomla OAuth
Server
|
Scope:
email profile
|
Authorize Endpoint:
https://< your-Joomla-domain >/index.php
|
Access Token Endpoint:
https://< your-Joomla-domain >/index.php
|
Get User Info Endpoint:
https://< your-Joomla-domain>
/plugins/system/miniorangeoauth/miniorangeoauthserver.php
|
Step 3: Configure Joomla as OAuth Server
- Now go to the Configure OAuth tab, and enter the Client Name and Redirect URL in the respective fields.
- Then click on the Save Client button.
- Under the List of OAuth Client's table, copy the Client ID and Secret of your Client. Go to your OAuth client and paste the Client ID and Secret in the respective fileds.
- Congratulations, you have successfully configured Joomla as your OAuth Server.