anonymous not authorized
When I try to use anonymous authentication with sleekxmpp, tigase responds with not-authorized. This is using the default config with nothing special. Tigase version 5.2.0 beta3.
Here is sleek's debug output:
DEBUG RECV: PLAINANONYMOUSzlib/stream:features
INFO SASL: PLAIN: PLAIN without encryption
DEBUG SEND (IMMED): QW5vbnltb3VzLCBTdWVsdGE=
INFO Authentication failed: not-authorized
How can anonymous ever be unauthorized? :)
Added by Justin Karneges over 5 years ago
Indeed, if I try manually with telnet this works.
However, I'm not sure if this is adjustable from sleekxmpp. The token (aka anonymous trace info) is coming from the underlying SASL library. As far as I know this is valid to send, so I think this is a bug in tigase. It should just ignore the content rather than failing.