Hi,

I have a use case where the server needs to return specific messages
to the client in case of authentication failures.  I looked at the
schema and it's pretty restrictive in what is being allowed during the
sasl handshake.

Would it make sense to relax the schema to allow text between the
error conditions, say like this -

<failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
 <temporary-auth-failure>Server under maintenance, please try after
some time.</temporary-auth-failure>
</failure>
</stream:stream>

Regards,
Vinod.

Reply via email to