As part of some prototype code that I am writing for a startup, I have been trying out the Web Almond Oauth2.0 API using postman as the vehicle. I have tried to simultaneously follow the Almond documentation (Web Almond as a Service) and the postman documentation on Oauth2.0. When I do this, I am redirected to the Almond Login page, but after I log in I get an error saying “invalid redirect uri”. (I am using the redirect uri recommendation from the postman documentation.) With this in mind, my questions are as follows:
-
- From my rather skimpy description above, is there anything obvious that I am doing wrong?
- Is there some way to get more debug info on the error I get from Almond?
- Is postman the right tool for this work? If not, is there another preferred tool that I should be using?
- Why do I need to provide a username and password to access Thingpedia? I already have a registered client id/secret - shouldn’t that be enough? Ultimately this prototype code should turn into an autonomous application, so no human input will be possible.