Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
6.0.1, 7.0.0
Description
Currently the implementation of the Auth interceptors uses `base64.RawStdEncoding.DecodeString` to decode the content of the hanshake.
In Go RawStdEncoding will not uses padding (with '='), trying to authenticate from pyarrow (with `client.authenticate_basic_token(user, password)`) will result in an error like:
pyarrow._flight.FlightUnauthenticatedError: gRPC returned unauthenticated error, with message: invalid basic auth encoding: illegal base64 data at input byte XX
StdEncoding would successfully read the content if RawStdEncoding fails.
Attachments
Issue Links
- links to