authy-java icon indicating copy to clipboard operation
authy-java copied to clipboard

OneTouch support

Open onlynone opened this issue 11 years ago • 2 comments

It looks like the library is missing support for OneTouch.

onlynone avatar Nov 04 '15 15:11 onlynone

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?

onlynone avatar Nov 09 '15 21:11 onlynone

Please see pull request #19 .

onlynone avatar Nov 19 '15 15:11 onlynone