Open findepi opened 2 years ago
I think it is not only about external authentication. For example one would like to know that the password (or keytab) is invalid eagerly too.
Oh... that would also verify if the server is up and running too.
@kokosing I agree that it would be better UX overall, but i also am aware the way CLI works was a conscious decision (even if i would make a different one).
That's why I would want to focus on --external-authentication
case only.
Yes, we should change this for everything, not just authentication.
When CLI is used with password- or kerberos-based auth, it doesn't need to actually make a connection on startup. CLI prints the prompt and authentication happens behind the scenes.
When
--external-authentication
, the user didn't provide authentication information yet. Printing prompt, and authenticating on first query isn't the best user experience possible.Note that when
--catalog
and--schema
are provided, the connection is made eagerly, already, but prints over the prompt: