authy-java
authy-java copied to clipboard
OneTouch support
It looks like the library is missing support for OneTouch.
I've been trying to extend this library to support the new OneTouch endpoints, but they don't appear to be accepting xml. For example:
$ curl \
--data-binary '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><approval_request><message>Sign in</message></approval_request>' \
-H 'content-type: application/xml' \
https://api.authy.com/onetouch/xml/users/1234567/approval_requests?api_key=XXXXX
Responds with a "400 Bad Request" and the text "Parameter is required" as the body.
Is anyone working on this?
Please see pull request #19 .