InfluxCommunity / influxdb3-js

The JavaScript Client that provides a simple and convenient way to interact with InfluxDB 3.
https://influxcommunity.github.io/influxdb3-js/
MIT License
13 stars 4 forks source link

fix: add Edge authentication support #377

Closed alespour closed 1 month ago

alespour commented 1 month ago

Proposed Changes

Adds authScheme option to Client initialization (via ConnectionOptions, connection string or environment variables) to allow setting token authentication scheme other then the default "Token" (used for Cloud). For Edge (OSS), users need to set it to "Bearer".

Checklist

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Please upload report for BASE (main@e6662ff). Learn more about missing BASE report.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #377 +/- ## ======================================= Coverage ? 97.59% ======================================= Files ? 23 Lines ? 915 Branches ? 218 ======================================= Hits ? 893 Misses ? 10 Partials ? 12 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.