Hey Fiware, I’m running into an issue with a local installation of KeyStone. We installed KeyRock as a whole on a server in our local network, and it’s working just fine. People can register and login via the Horizon front-end, so everything seems to be working as expected, however we are trying to get the API of KeyStone to work instead so we can let our app hook into the userbase. We figured we’d start with a simple unscoped password authentication, but so far it’s returning the error "authenticate_for_token() got an unexpected keyword argument 'token_request’”. I’m sending the request via terminal, using curl: $ curl --data "{"auth":{"identity":{"methods":["password"],"password":{"user":{"password":"12345","domain":{"id":"default"},"name":"idm"}}}}}" -v http://toad:5000/v3/auth/tokens which yields the following result (including verbose data): * Trying 192.168.0.106... * Connected to toad (192.168.0.106) port 5000 (#0) > POST /v3/auth/tokens HTTP/1.1 > Host: toad:5000 > User-Agent: curl/7.43.0 > Accept: */* > Content-Length: 100 > Content-Type: application/x-www-form-urlencoded > * upload completely sent off: 100 out of 100 bytes < HTTP/1.1 400 Bad Request < Vary: X-Auth-Token < Content-Type: application/json < Content-Length: 138 < Date: Wed, 02 Mar 2016 10:09:08 GMT < * Connection #0 to host toad left intact {"error": {"message": "authenticate_for_token() got an unexpected keyword argument 'token_request'", "code": 400, "title": "Bad Request"}} I can’t seem to figure out where it’s going wrong, according to the documentation my request body seems ok, it validates as proper JSON as well. Could you give me some pointers? Thanks in advance! Greetings, Darren Rooijakkers Less or More www.lessormore.nl +31(0) 6 461 417 74 -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20160302/783a17fe/attachment.html>
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy