Bug 358704

Summary: request authorization does not occur and upload becomes impossible
Product: [Applications] digikam Reporter: roman <ceo.roman>
Component: Plugin-WebService-ImgurAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: aspotashev, caulier.gilles
Priority: NOR    
Version: 4.1.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 6.0.0

Description roman 2016-01-28 20:47:57 UTC
I'm doing a screenshot utility spectacle and trying to export it to imgur.
When I click on the imgur export window opens with a button autorization Request. When I click the button nothing happens.

Reproducible: Always

Steps to Reproduce:
1. Make screenshot with spectacle
2. Choose export Imgur
3. Click on "Request authorization"

Actual Results:  
Nothing changes, the request authorization does not occur

Expected Results:  
Authorization is completed and Upload button becomes active
Comment 1 roman 2016-01-28 20:49:26 UTC
logs:

kipi.plugins: We have activated the imgur exporter!
========== KQOAuthRequest has the following parameters:
 *  "oauth_callback"  :  "http://localhost:34428"
 *  "oauth_consumer_key"  :  "9ad9d48124b7137d9cc9e0397219f52004fcba12a"
 *  "oauth_nonce"  :  "2022260354"
 *  "oauth_signature_method"  :  "HMAC-SHA1"
 *  "oauth_timestamp"  :  "1454014116"
 *  "oauth_version"  :  "1.0"


========== KQOAuthRequest has the following base string:
"POST&https%3A%2F%2Fapi.imgur.com%2Foauth%2Frequest_token&oauth_callback%3Dhttp%253A%252F%252Flocalhost%253A34428%26oauth_consumer_key%3D9ad9d48124b7137d9cc9e0397219f52004fcba12a%26oauth_nonce%3D2022260354%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1454014116%26oauth_version%3D1.0" 

========== KQOAuthRequest has the following signature:
 * Signature :  "hG%2Bm5bOLPHtGHhISSrsp4QQ34cs%3D" 

("Authorization", "Content-Type")
"OAuth oauth_callback=\"http%3A%2F%2Flocalhost%3A34428\", oauth_signature_method=\"HMAC-SHA1\", oauth_consumer_key=\"9ad9d48124b7137d9cc9e0397219f52004fcba12a\", oauth_version=\"1.0\", oauth_timestamp=\"1454014116\", oauth_nonce=\"2022260354\", oauth_signature=\"hG%2Bm5bOLPHtGHhISSrsp4QQ34cs%3D\""
"application/x-www-form-urlencoded"
Comment 2 caulier.gilles 2016-01-28 21:33:50 UTC
Please update to last kipi-plugins 4.14.0 and try again.

Gilles Caulier
Comment 3 caulier.gilles 2016-03-11 12:36:24 UTC
*** Bug 360404 has been marked as a duplicate of this bug. ***
Comment 4 Alexander Potashev 2016-03-11 13:02:32 UTC
report  for bug #360404 has more infromation

*** This bug has been marked as a duplicate of bug 360404 ***
Comment 5 caulier.gilles 2018-09-03 21:32:22 UTC
Not reproducible with 6.0.0