You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2019/07/04 08:26:26 UTC

[GitHub] [calcite-avatica-go] trusch opened a new pull request #41: add support for bearer token authentication.

trusch opened a new pull request #41: add support for bearer token authentication.
URL: https://github.com/apache/calcite-avatica-go/pull/41
 
 
   **What**
   
   Add support for bearer tokens for authentication.
   
   * parse `token=xxxxxx` from DSN
   * introduce new auth type `token`
   * set `Authorization: Bearer $TOKEN` when auth type is `token` and the token is specified in http client
   * slightly cleaned up the if/else statements regarding auth management
   
   **Why**
   
   We need to supply an authorization header in order to access our setup. This may be usefull for others as well, since it would enable us to place  avatica behind some kind of oauth proxy.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services