Hello,
I am having issue connecting to the OAuth to get token.
I installed the ods_framework_dav.vad package and generated SPARQL application
token and secret following the example here
http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtOAuthSPARQL
<http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtOAuthSPARQL>
I read this http://docs.openlinksw.com/virtuoso/voauth.html
<http://docs.openlinksw.com/virtuoso/voauth.html> to understand how Oauth
request should be made to Virtuoso Oauth endpoint.
http://localhost:8890/OAuth/request_token?oauth_version=1.0&oauth_nonce=72180780940317254641459358880&oauth_timestamp=1459299214&oauth_consumer_key=client_key&oauth_signature_method=HMAC-SHA1&oauth_signature=KmF8ngGHSBQJIDHTDw%2FWP%2Fdqgmc%3D
<http://192.168.33.18:8890/OAuth/request_token?oauth_version=1.0&oauth_nonce=72180780940317254641459358880&oauth_timestamp=1459299214&oauth_consumer_key=a1bdb2729ee7fa4bb099e0e4968903b8ce9f484d&oauth_signature_method=HMAC-SHA1&oauth_signature=KmF8ngGHSBQJIDHTDw/WP/dqgmc=>
I am using a python library to sign the request.
client_key = token
client_secret = secret
client = oauth1.Client(client_key, client_secret=client_secret)
uri, headers, body = client.sign(request_token_url)
I am getting this response 'OAuth Verification Failed: Bad Signature'
Kindly point me to the best approach.
Kind Regards.
Sunday Ayandokun
University of Tartu
Tel: +37256724770
Skype: sunday.ayandokun
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users