@mazhe It works with both SASL and SASL2. However it does require server support and I believe that most if not all servers that support XEP-0474 have support for SASL2 anyway.