Open fredipevcin opened 6 years ago
@Neustradamus: because there were no activity.
@mattn: What do you think about this PR?
Could you please fix conflict?
@fredipevcin: Have you seen the @mattn comment?
Could you please fix conflict?
Hey, I will try to fix this as soon as possible (week or 2). You are welcome to do it otherwise I will when time allows me.
Had an issue with tests.. so I removed them. If you have a suggestion how to add them, let me know.
Another thing I noticed during the testing. If server respond with multiple mechanism then the first one will be selected (PLAIN
). Not sure if this is good thing.
<stream:stream xmlns='jabber:client'
xmlns:stream='http://etherx.jabber.org/streams'
to='domain'
version='1.0'>
<stream:features>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>PLAIN</mechanism>
<mechanism>X-OAUTH2</mechanism>
</mechanisms>
</stream:features>
@Neustradamus @mattn If this is good enough for you you can merge it. It's been a long time since I use this. I can't even test it.
It should prefer SCRAM mechanisms over PLAIN. If you want to use OAUTH or EXTERNAL I guess you'll tell the lib to do so by the setting.
I have no idea about tests. Maybe @mattn knows more.
Am 24. November 2023 12:59:01 UTC schrieb Fredi Pevcin @.***>:
Had an issue with tests.. so I removed them. If you have a suggestion how to add them, let me know.
Another thing I noticed during the testing. If server respond with multiple mechanism then the first one will be selected (
PLAIN
). Not sure if this is good thing.<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='domain' version='1.0'> <stream:features> <mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'> <mechanism>PLAIN</mechanism> <mechanism>X-OAUTH2</mechanism> </mechanisms> </stream:features>
@fredipevcin: Have you seen the @mdosch comment?
@fredipevcin: What is your email address?
@fredipevcin I also don't have a server using external authentication and am therfore also unable to test it. :(
@fredipevcin: Why have you closed your PR?