Right now the callback is called only once on the first connect attempt. Especially for things like a JWT the connection might not succeed right away, and could actually complete many minutes from now. Thus, the callback should be called on each connection attempt, when the attempt is being made.
Versions
Description Presently, you can provide immediate credentials or a call back for credectials. For exmaple
or
Right now the callback is called only once on the first connect attempt. Especially for things like a JWT the connection might not succeed right away, and could actually complete many minutes from now. Thus, the callback should be called on each connection attempt, when the attempt is being made.