Created
October 5, 2012 10:44
-
-
Save mwanji/3839210 to your computer and use it in GitHub Desktop.
OAuth HMAC signing debugging
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
timestamp=1349386748510 | |
nonce=kaauue7k | |
method=POST | |
uri=/apps/ztfqej/authorizations | |
host=javaapiclient.tent.is | |
port=443 | |
mac_key=d9ab6f3b87a8026e54aa5c971bd39e7c | |
mac_key_id=a:f6f0695f | |
What the Tent Ruby client says I should get: | |
MAC id="a:f6f0695f", ts="1349386748510", nonce="kaauue7k", mac="zYSpD2KcRVmS+i2RBXwvUywi+AnmiO+FupqMaRFcUf8=" | |
What I actually get: | |
MAC id="a:f6f0695f", ts="1349386748510", nonce="kaauue7k", mac="Cgk96OkAaPy9Vp9Pge2bJu07qi2C/zQT6KWm0Z+7z7w=" | |
The implementation code is here: https://github.com/mwanji/tent-client-java/blob/master/src/main/java/com/moandjiezana/tent/oauth/RequestSigner.java#L13 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment