[gnome-online-accounts] configure.ac: remove the facebook client secret



commit d9f98d1a773478b7f6d36f12cb03831649d5ad8d
Author: Cosimo Alfarano <cosimo alfarano collabora com>
Date:   Wed Mar 14 14:08:59 2012 +0000

    configure.ac: remove the facebook client secret
    
    The client secret is now obsoleted by the client-side auth flow use.
    Hardcode an already existing "GNOME" Facebook app id.
    
    Fixes: https://bugzilla.gnome.org/672060

 configure.ac |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index c6a1396..ec61165 100644
--- a/configure.ac
+++ b/configure.ac
@@ -159,13 +159,9 @@ AC_ARG_WITH(facebook-client-secret,
                             [],
                             [])
 if test "$with_facebook_client_id" = ""; then
-  with_facebook_client_id=not_set
-fi
-if test "$with_facebook_client_secret" = ""; then
-  with_facebook_client_secret=not_set
+  with_facebook_client_id=297654143624603
 fi
 AC_DEFINE_UNQUOTED(GOA_FACEBOOK_CLIENT_ID, ["$with_facebook_client_id"], [Facebook OAuth 2.0 client id])
-AC_DEFINE_UNQUOTED(GOA_FACEBOOK_CLIENT_SECRET, ["$with_facebook_client_secret"], [Facebook OAuth 2.0 client secret])
 if test "$enable_facebook" != "no"; then
   AC_DEFINE(GOA_FACEBOOK_ENABLED, 1, [Enable Facebook data provider])
 fi
@@ -246,7 +242,7 @@ echo "
 	Google provider:            ${enable_google} (OAuth 1.0, key:${with_google_consumer_key} secret:${with_google_consumer_secret})
 	Twitter provider:           ${enable_twitter} (OAuth 1.0, key:${with_twitter_consumer_key} secret:${with_twitter_consumer_secret})
 	Yahoo provider:             ${enable_yahoo} (OAuth 1.0, key:${with_yahoo_consumer_key} secret:${with_yahoo_consumer_secret})
-	Facebook provider:          ${enable_facebook} (OAuth 2.0, id:${with_facebook_client_id} secret:${with_facebook_client_secret})
+	Facebook provider:          ${enable_facebook} (OAuth 2.0, id:${with_facebook_client_id})
 	Windows Live provider:      ${enable_windows_live} (OAuth 2.0, id:${with_windows_live_client_id})
 
         Maintainer mode:            ${USE_MAINTAINER_MODE}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]