databricks / databricks-sql-nodejs

Databricks SQL Connector for Node.js
Apache License 2.0
24 stars 34 forks source link

Use correct scopes for OAuth U2M and M2M flows #228

Closed kravets-levko closed 9 months ago

kravets-levko commented 9 months ago

Fixes databricks/databricks-sql-nodejs#226

This PR also contains some preparation work/refactoring, and is easier to review commit by commit:

codecov-commenter commented 9 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (3953e5d) 0.00% compared to head (e82d2ed) 90.67%.

Files Patch % Lines
...ib/connection/auth/DatabricksOAuth/OAuthManager.ts 96.29% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #228 +/- ## ========================================= + Coverage 0 90.67% +90.67% ========================================= Files 0 62 +62 Lines 0 1458 +1458 Branches 0 250 +250 ========================================= + Hits 0 1322 +1322 - Misses 0 84 +84 - Partials 0 52 +52 ```

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