From 0bbe3de11a9f32acde1d14b19f7fa4dbf93f2e0e Mon Sep 17 00:00:00 2001
From: Tim van Dijen <tim.dijen@minbzk.nl>
Date: Mon, 20 May 2019 15:56:58 +0200
Subject: [PATCH] Remove authlinkedin from repository; LinkedIn no longer
 supports oAuth1

---
 bin/build-release.sh             |  1 -
 composer.json                    |  1 -
 config-templates/authsources.php | 15 ---------------
 modules/.gitignore               |  1 -
 4 files changed, 18 deletions(-)

diff --git a/bin/build-release.sh b/bin/build-release.sh
index b2a7d89de..f00066bcf 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 8d6989139..06386d2de 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 c48b0e022..4fb01521e 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 b9fe2ce7b..f793a754d 100644
--- a/modules/.gitignore
+++ b/modules/.gitignore
@@ -7,7 +7,6 @@
 !/admin/
 !/authcrypt/
 !/authfacebook/
-!/authlinkedin/
 !/authorize/
 !/authtwitter/
 !/authwindowslive/
-- 
GitLab