Joomla Login and Subscription through Linkedin

The TF Mail component allows users on your site to use their LinkedIn account to subscribe, login or register on your Joomla! site.

Before you can use LinkedIn subscription, you need to create a LinkedIn app. You also need to associate your app to LinkedIn page. In case you don't have LinkedIn business page, you need to create it first.

Step 1: LinkedIn App

Sign in to your LinkedIn account. From the developer account, navigate to My Apps section. Click on the "Create app" button.

Fill in the form. All of the fields are required. This information is shown to your site's visitors.

  • App name
  • LinkedIn Page
  • Privacy policy URL
  • App logo

Click on Create app button.

Step 2: Products

From the Products tab, select "Sign In with LinkedIn" product and Add product. You will see this in the Added products.

Step 3: Auth Settings

From the Auth tab, under OAuth 2.0 settings, find the the Authorized Redirect URLs field and add a redirect URL like:

https://www.example.com/index.php?option=com_tfmail&task=subscribe.linkedin

Replace www.example.com with your website URL. Click on "Update" button.

Step 4: Application credentials

After few minutes, in the Auth tab and under the OAuth 2.0 Scopes you will see both the r_emailaddress and r_liteprofile items. These scopes will be used to get the name and email address.

From the Auth tab, under the Application credentials, copy the Client ID and Client Secret (you need to click the eye icon next to see it).

From the Joomla! administration, navigate to the component options. Under the social tab, enable the LinkedIn. Enter the Client ID and Client secret.

Step 5: LinkedIn Button

You can enable the subscription or login button from the component menu, subscription module, and Joomla! login. Under the options tab, Enable LinkedIn. This option is available at three places:

  1. TF Mail Component menu options
  2. TF Subscribe module
  3. TF Mail Plugin (for Joomla! login)