From eebf4de7c9c11eb598a0b771d0b11ecf8ac028e4 Mon Sep 17 00:00:00 2001
From: Tim van Dijen <tvdijen@gmail.com>
Date: Mon, 11 Mar 2019 18:13:44 +0100
Subject: [PATCH] Externalize authfacebook (#1064)

---
 bin/build-release.sh | 1 +
 composer.json        | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/bin/build-release.sh b/bin/build-release.sh
index d6749d1d0..b44cba258 100755
--- a/bin/build-release.sh
+++ b/bin/build-release.sh
@@ -47,6 +47,7 @@ php "$TARGET/composer.phar" config version "$VERSION" -d "$TARGET"
 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-authfacebook
 php "$TARGET/composer.phar" require --update-no-dev simplesamlphp/simplesamlphp-module-authtwitter
 php "$TARGET/composer.phar" require --update-no-dev simplesamlphp/simplesamlphp-module-authwindowslive
 php "$TARGET/composer.phar" require --update-no-dev simplesamlphp/simplesamlphp-module-cdc
diff --git a/composer.json b/composer.json
index 7e9f4c6a6..2c1704bdb 100644
--- a/composer.json
+++ b/composer.json
@@ -41,7 +41,8 @@
         "phpmailer/phpmailer": "^6.0",
         "robrichards/xmlseclibs": "^3.0",
         "simplesamlphp/saml2": "^3.3",
-        "simplesamlphp/simplesamlphp-module-authtwitter": "^1.0.0",
+        "simplesamlphp/simplesamlphp-module-authfacebook": "^1.0",
+        "simplesamlphp/simplesamlphp-module-authtwitter": "^1.0",
         "simplesamlphp/simplesamlphp-module-authwindowslive": "^1.0",
         "simplesamlphp/simplesamlphp-module-cdc": "^1.0",
         "simplesamlphp/simplesamlphp-module-memcookie": "^1.2",
-- 
GitLab