Your Moodle version

Authentication: LinkedinAuth

auth_linkedin
Maintained by Picture of Bas Brands Bas Brands
This is the authentication part of the LinkedIn auth plugin. A Linkedin Block provides the user interface for this plugin
Moodle 2.1, 2.2, 2.3, 2.4, 2.5

Sets

This plugin is part of set Linkedin. Plugins from the set work the best when installed together.

Linkedin Oauth 2.0 Authentication Plugin


* Credits:

This authentication plugin has been created based on the code written by:
https://github.com/mahmudahsan using code published here:
https://github.com/mahmudahsan/Linkedin---Simple-integration-for-your-website

Using Moodle OAuth examples by Jerome Mouneyrac:
http://moodle.org/plugins/view.php?plugin=auth_googleoauth2


* Requirements:
A Linked in Account
A Linked in integration Key / Secret
Some custom code in your theme or the linkedin block

* What it does (using the linkedin block):
When installed correctly a user can log in using their linked in account.

1. The user clicks the login with linkedin button
2. A popup opens that redirects to the linkedin page asking for your linkedin username/pass and your
approval to give moodle access to your profile. If the user was already logged into linkedin in some
other browsers window the popup only asks permission to login using linkedin
3. When the users finishes the linked in auth the Moodle page reloads and redirects the user the a form
asking for the users email.
4. When finished the users is logged into Moodle and profile information is shown in the linkedin block.

Profile info retreived from LinkedIn:
- firstname, lastname
- current job
- country
- city
- profile picture

* LinkedIn auth plugin installation

1. Add the auth plugin to /auth/linkedin
2. In Moodle go to the plugins page for authentication and enable linkedin
3. visit https://www.linkedin.com/secure/developer and click Add New Application.
4. Enter your Moodle website details, most important field: Integration URL, use the wwwroot of your Moodle installation
5. Once received from LinkedIn Enter you key / secret to the LinkedIn authentication plugin settings page in Moodle

* Linkedin block
1. Install the linkedin block
2. Go to the Siteadmin -> notifications to install the block
3. Add the block to the moodle frontpage

Screenshots

Screenshot

Contributors

Picture of Bas Brands
Bas Brands (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Me at the Moodle Moot NZ11
    Fri, May 4, 2012, 1:56 PM
    Thanks a lot Bas - this could be an interesting option for business users smile
  • Picture of Geoff Waring
    Tue, Sep 11, 2012, 9:30 AM
    I tried to install the module using Moodle 2.3.2 on LAMP using PHP version 5.3.14
    I got the following error message when I tried to install:
    Plugin "mod_linkedin" is defective or outdated, can not continue, sorry.
    Debug info: Missing version value in version.php
    Error code: detectedbrokenplugin
    Stack trace:

    line 546 of /lib/upgradelib.php: plugin_defective_exception thrown
    line 358 of /lib/upgradelib.php: call to upgrade_plugins_modules()
    line 1524 of /lib/upgradelib.php: call to upgrade_plugins()
    line 329 of /admin/index.php: call to upgrade_noncore()
    Any suggestions?
    Geoff
  • Picture of Bas Brands
    Tue, Sep 18, 2012, 4:46 PM
    Have you used the latest version of the plugin?
  • Picture of Geoff Waring
    Sun, Oct 7, 2012, 8:48 AM
    Sorry Bas for being slow to respond. I assumed the system would automatically email me when you responded. I will click the RSS link.
    I used the latest plugin at Sep 11 auth_linkedin_moodle23_2012071600 which looks the same file name as you currently have in your download area.
  • Picture of Geoff Waring
    Sun, Oct 7, 2012, 9:51 AM
    It works fine. The error was on my side. I had uploaded the zip file to mod subdirectory as I had done with other modules but when I re-read the installation instructions I realised the authentication plugin should be unpacked into the moodle/auth subdirectory. I also updated to your latest (Sep 18) version. I installed the blocks zip file in the moodle/blocks subdirectory and tested them and they appear to work well.
  • Picture of Bas Brands
    Mon, Oct 8, 2012, 2:01 AM
    Thanks for reporting that! Hope the plugins will continue to work well for you and if you have any issues or suggestions do let me know!
  • Picture of sunil kumar
    Tue, May 14, 2013, 4:48 PM
    I have installed all the things but unable to show the linkedin block on the login page. Could anybody let me know, how to show the block on the login page???
  • Picture of Bert van der Hooft
    Sun, Jun 16, 2013, 1:43 PM
    Hi Bas,

    Wht's the impact of the Linkedin Member Permission Change?

    https://developer.linkedin.com/blog/migrating-all-applications-member-permissions-0

    Bert
  • Picture of Bert van der Hooft
    Sun, Jun 16, 2013, 7:32 PM
    Bas,

    Any plans for updating it to moodle 2.4?

    Bert
  • Picture of A Karthik
    Fri, Jul 26, 2013, 7:11 PM
    Hi i have installed both LinkedinAuth and Linkedin Block plugins. I have entered the OAuth User Token and OAuth User Secret in the settings for the plugin and enabled the plugin. while logging in using linkedin, am getting "We were unable to find the authorization token'"error.Also, "oauth_token=" in the url is empty. How to solve this issue..
Please login to post comments