Skip to content
Discussion options

You must be logged in to vote

TL;DR: There isn't a "unified" auth mechanism for Flight RPC or Flight SQL, but most libraries have implemented "Basic" auth for convenience.

Therefore, it confuses me, that the first method uses Basic "authorization" for /Handshake, and then it's being transformed to Bearer token, returned as "authorization" Trailer from server, and client switches the basic "authorization" to bearer on its side.

This is the default way to perform simple authentication with Flight and Flight SQL: using simple "Basic" authentication via the http protocol (grpc uses HTTP/2). You send a message to Handshake with an empty payload using Basic authorization, which validates it via implementing a BasicAuthVal…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by prochac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants