twilio / authy-java

Java Client for Twilio Authy Two-Factor Authentication (2FA) API
https://www.twilio.com/docs/authy/api
MIT License
65 stars 46 forks source link

Jaxb is removed in Java 11+ #71

Closed Aseeef closed 2 years ago

Aseeef commented 2 years ago

Jaxb is no longer included in Java 11+. As a result it has to be included manually as a dependency otherwise users get the following error:

Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException at com.authy.api.Users.createUser(Users.java:47) ~[?:?]

I don't believe this is intentional and though there are workarounds, I believe this should be fixed.

robinske commented 2 years ago

This library is no longer actively maintained. The Authy API has been replaced with the Twilio Verify API. Twilio will support the Authy API through November 1, 2022 for SMS/Voice. After this date, we’ll start to deprecate the service for SMS/Voice. Any requests sent to the API after May 1, 2023, will automatically receive an error. Push and TOTP will continue to be supported through July 2023.

Learn more about migrating from Authy to Verify.

Please visit the Twilio Docs for:

Please direct any questions to Twilio Support. Thank you!