I am using Dremio 12.0.0-202012212145230282-d8947fd3(Community Edition) for Arrow Flight server and Python Arrow Flight Client(https://github.com/dremio-hub/arrow-flight-client-examples/tree/main/python) to connect to the Dremio flight server.
By setting auth.mode: "legacy.arrow.flight.auth"
in conf/dremio.conf file and restarting Dremio, I can connect to the flight server using the user/password credentials and perform the sql query.
But when I set auth.mode: "arrow.flight.auth2"
to new authentication mode, the client is failing to connect to the flight server with the same user/password credentials.