By lucadanielcostin
on Wed, 12/04/2013 - 21:14
Hello, I am creating a server written in CoffeeScript for NodeJS and I can't get anything but AuthenticationFailure
I've pasted the code here http://pastebin.com/f7JDmPNW
My keys are located in ./config.js file
I only use server_access_key and server_secret_key
The big problem is that you don't know if you're doing something right, or something wrong or everything wrong because there are so many hashes you need to compute and unless the planets align you're pretty much screwed, no way to debug, no way to find out.
I wish you good luck in finding out my bug (or most likely my bugs). And by "you" I mean the developers at vuforia who thought having lots of security will help and that one hash key was not enough.
The infamous AuthenticationFailure
Hi, thanks for sharing your code, but as you recognize, these are "your bugs", we cannot debug your own code for you;
we do have working sample implementations in Java and PHP, which you can find here, if you want to have a look at the code, this could help:
The infamous AuthenticationFailure
Thanks for the links.
I must say yesterday the link to the PHP sample did not work. The EULA did not load so maybe the accept button was blocked.
Now I see that you consider the HMAC hash not as a hex string but as a binary. I'll start working from there.
The infamous AuthenticationFailure
I got it to work, it was indeed the hmac hash not being treated correctly and the Date header was missing. I saw that in some cases you post Fail, but if the Date header is missing there's no information that points to the problem.
The infamous AuthenticationFailure
I know this is an old post but I'm dealing with this same issue. Would you be able post a JSFiddle of how you got it to work.
The infamous AuthenticationFailure
For anyone else having this issue, my problem was that I wasn't explicity setting the Date header in the request. I still can't find anywhere in the docs that you need to explicity set the Date header.
The infamous AuthenticationFailure
here is the bitbuket unity project with vuforia extension for saving and posting userdefined targets to cloud at runtime https://bitbucket.org/anonymousyourass/userdefinedcloud/overview. Currently its only saves picture locally and tries to post image to cloud to the testing develoment account.
The infamous AuthenticationFailure
at the moment trying to integrate\port vws samples into unity.