Open neilpalima opened 3 years ago
I think this depends on your server config. If the server has two auth methods then the client will retry authentication with each method. The default for the server authentication methods is ["PLAIN", "LOGIN"]
so that's why you're seeing two console.logs.
Is there a config that will not call the onAuth twice? Is this the expected behavior?
Sample code. console.log was executed twice.