-
Notifications
You must be signed in to change notification settings - Fork 375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No way to pick SASL auth type? #808
Comments
@kriegster108 what type is the client trying (and failing) to use? which types are offered by the server? |
I think you pointed me in the right direction just now. Our server is relatively new and not 100% configured properly... our ‘feature’ response states it can be all three of the main SASL types.. which might be why your library is trying to use the wrong one. I’ll get them to remove the other two types from the server so it might work normally |
@kriegster108 ok - it still looks like a bug with |
I have the same feature request to pick preferred auth mech. |
So if I understand correctly the use case would be to always use the same SASL mechanism? I'm torn. On one hand it is trivial to do with On the other hand this is a recurrent request.
So what I'm thinking is to improve the documentation by making that explicit and adding a "How do I" section with examples for "non standard" features such as forcing SASL mechanism. @yuanchieh-cheng what do you think? |
I would try to use But I saw the xmpp documents and it doesn't mention that client have to use first mechanism server returned. |
@yuanchieh-cheng XEP 0034 is deprecated, you're looking for https://tools.ietf.org/html/rfc6120#section-6.3.3 Can you please elaborate on your use case? Do you want to always use a specific SASL mechanism or simply add it to the list of supported mechanisms and give it a higher priority than the defaults one? |
I trying to use gtalk but gtalk server respond PLAIN at the first order which I don't want to use. According to the doc,
If I’m not mistaken, these words mean that Client can specify the preferred mechanism order list. Thanks |
I am currently trying to connect to my wss server but every time it attempts to connect it tries using authentication other than PLAIN. Documentation states you support all types yet I can’t specify in the client object anything about what type to use? After one attempt in the logs on my XMPP server the auth fails because it is trying to use a type other than PLAIN which is what we currently only support. Need direction here on how to switch out what SASL auth types I can pick
The text was updated successfully, but these errors were encountered: