Open
Description
Is your feature request related to a problem? Please describe.
Client does not check authentication methods that are allowed to continue as reported by server and always attempts what authentication is requested by client params or client defaults.
Describe the solution you'd like
Client checks authentication methods the server supports before attempting to authenticate with each type of requested authentication method or client default auth.
Describe alternatives you've considered
Existing solution works, though can lead to excessive authentication attempts which server does not support, which can cause unexpected disconnections/timeouts.
Additional context
N/A