diff --git a/bin/build-release.sh b/bin/build-release.sh
index b2a7d89de7f4f9f75e13104fc520d0c137ac755d..f00066bcf21b40cc8ded382abd16807cb7f8652a 100755
--- a/bin/build-release.sh
+++ b/bin/build-release.sh
@@ -49,7 +49,6 @@ php "$TARGET/composer.phar" install --no-dev --prefer-dist -o -d "$TARGET"
 # Install external modules
 php "$TARGET/composer.phar" require --update-no-dev simplesamlphp/simplesamlphp-module-adfs
 php "$TARGET/composer.phar" require --update-no-dev simplesamlphp/simplesamlphp-module-authfacebook
-php "$TARGET/composer.phar" require --update-no-dev simplesamlphp/simplesamlphp-module-authlinkedin
 php "$TARGET/composer.phar" require --update-no-dev simplesamlphp/simplesamlphp-module-authtwitter
 php "$TARGET/composer.phar" require --update-no-dev simplesamlphp/simplesamlphp-module-authx509
 php "$TARGET/composer.phar" require --update-no-dev simplesamlphp/simplesamlphp-module-authyubikey
diff --git a/composer.json b/composer.json
index 8d6989139e427327f9177c4936cc7fa938f3a974..06386d2de37f8ba864b237b71de21e38b97005c3 100644
--- a/composer.json
+++ b/composer.json
@@ -49,7 +49,6 @@
         "simplesamlphp/saml2": "^3.3",
         "simplesamlphp/simplesamlphp-module-adfs": "^1.0",
         "simplesamlphp/simplesamlphp-module-authfacebook": "^1.0",
-        "simplesamlphp/simplesamlphp-module-authlinkedin": "^1.0",
         "simplesamlphp/simplesamlphp-module-authtwitter": "^1.0",
         "simplesamlphp/simplesamlphp-module-authwindowslive": "^1.0",
         "simplesamlphp/simplesamlphp-module-authx509": "^1.0.0",
diff --git a/config-templates/authsources.php b/config-templates/authsources.php
index c48b0e022bb1659d1205658f1ae0684828645e97..4fb01521e0da3c216c805b498bf0ec8c9ef9b161 100644
--- a/config-templates/authsources.php
+++ b/config-templates/authsources.php
@@ -162,21 +162,6 @@ $config = [
     ],
     */
 
-    /*
-    // Twitter OAuth Authentication API.
-    // Register your application to get an API key here:
-    //  http://twitter.com/oauth_clients
-    'twitter' => [
-        'authtwitter:Twitter',
-        'key' => 'xxxxxxxxxxxxxxxx',
-        'secret' => 'xxxxxxxxxxxxxxxx',
-
-        // Forces the user to enter their credentials to ensure the correct users account is authorized.
-        // Details: https://dev.twitter.com/docs/api/1/get/oauth/authenticate
-        'force_login' => false,
-    ],
-    */
-
     /*
     // Microsoft Account (Windows Live ID) Authentication API.
     // Register your application to get an API key here:
diff --git a/modules/.gitignore b/modules/.gitignore
index b9fe2ce7b77a10cd00d3ce1e615d82048c14b597..f793a754df378e97b5a8f1abd76587c878a8357e 100644
--- a/modules/.gitignore
+++ b/modules/.gitignore
@@ -7,7 +7,6 @@
 !/admin/
 !/authcrypt/
 !/authfacebook/
-!/authlinkedin/
 !/authorize/
 !/authtwitter/
 !/authwindowslive/