[gnome-online-accounts] flickr: Make it show the permissions page after login



commit deed414e2ccb09d6b45c4e7cee4dbddb226c30c7
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Aug 8 15:28:37 2017 +0200

    flickr: Make it show the permissions page after login
    
    ... instead of the user's Flickr home page.
    
    Changing the OAuth endpoints to the documented www.flickr.com, instead
    of m.flickr.com, fixes the problem. Both present the same compact UI,
    so there is no need to explicitly ask for the mobile version of it.
    
    This reverts commit 219b3d72ca3e05cbb35417619637f0ff1512a9fa
    
    https://bugzilla.gnome.org/show_bug.cgi?id=786007

 src/goabackend/goaflickrprovider.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/goabackend/goaflickrprovider.c b/src/goabackend/goaflickrprovider.c
index 48c6721..c0befe6 100644
--- a/src/goabackend/goaflickrprovider.c
+++ b/src/goabackend/goaflickrprovider.c
@@ -82,19 +82,19 @@ get_consumer_secret (GoaOAuthProvider *oauth_provider)
 static const gchar *
 get_request_uri (GoaOAuthProvider *oauth_provider)
 {
-  return "https://m.flickr.com/services/oauth/request_token";;
+  return "https://www.flickr.com/services/oauth/request_token";;
 }
 
 static const gchar *
 get_authorization_uri (GoaOAuthProvider *oauth_provider)
 {
-  return "https://m.flickr.com/services/oauth/authorize";;
+  return "https://www.flickr.com/services/oauth/authorize";;
 }
 
 static const gchar *
 get_token_uri (GoaOAuthProvider *oauth_provider)
 {
-  return "https://m.flickr.com/services/oauth/access_token";;
+  return "https://www.flickr.com/services/oauth/access_token";;
 }
 
 static const gchar *


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