Skip to content

feat: add OAuth Authorization Code + PKCE authentication mode#188

Draft
mkaufmann wants to merge 8 commits into
mainfrom
feat/oauth-pkce-auth-code
Draft

feat: add OAuth Authorization Code + PKCE authentication mode#188
mkaufmann wants to merge 8 commits into
mainfrom
feat/oauth-pkce-auth-code

docs: document ECA setup for AUTH_CODE_PKCE flow

c60ecaa
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed May 15, 2026 in 0s

82.15% (-0.22%) compared to f47714f

View this Pull Request on Codecov

82.15% (-0.22%) compared to f47714f

Details

Codecov Report

❌ Patch coverage is 75.95628% with 44 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.15%. Comparing base (f47714f) to head (c60ecaa).

Files with missing lines Patch % Lines
...ce/datacloud/jdbc/auth/LoopbackCallbackServer.java 77.46% 10 Missing and 6 partials ⚠️
...alesforce/datacloud/jdbc/auth/BrowserLauncher.java 21.42% 11 Missing ⚠️
...ce/datacloud/jdbc/auth/DataCloudTokenProvider.java 87.50% 6 Missing and 2 partials ⚠️
.../datacloud/jdbc/auth/SalesforceAuthProperties.java 69.56% 3 Missing and 4 partials ⚠️
.../com/salesforce/datacloud/jdbc/auth/PkceCodes.java 81.81% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #188      +/-   ##
============================================
- Coverage     82.37%   82.15%   -0.22%     
- Complexity     1871     1900      +29     
============================================
  Files           125      128       +3     
  Lines          5020     5205     +185     
  Branches        540      562      +22     
============================================
+ Hits           4135     4276     +141     
- Misses          642      674      +32     
- Partials        243      255      +12     
Components Coverage Δ
JDBC Core 83.14% <ø> (ø)
JDBC Main 40.69% <ø> (ø)
JDBC HTTP 86.28% <75.95%> (-4.02%) ⬇️
JDBC Utilities 65.25% <ø> (ø)
Spark Datasource ∅ <ø> (∅)
Files with missing lines Coverage Δ
.../com/salesforce/datacloud/jdbc/auth/PkceCodes.java 81.81% <81.81%> (ø)
.../datacloud/jdbc/auth/SalesforceAuthProperties.java 88.77% <69.56%> (-5.82%) ⬇️
...ce/datacloud/jdbc/auth/DataCloudTokenProvider.java 86.79% <87.50%> (+0.39%) ⬆️
...alesforce/datacloud/jdbc/auth/BrowserLauncher.java 21.42% <21.42%> (ø)
...ce/datacloud/jdbc/auth/LoopbackCallbackServer.java 77.46% <77.46%> (ø)

Impacted file tree graph

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.