Skip to content

Add per-domain OAuth (Google, GitHub) provider support#12702

Open
Damans227 wants to merge 63 commits into
apache:mainfrom
Damans227:oauth-per-domain
Open

Add per-domain OAuth (Google, GitHub) provider support#12702
Damans227 wants to merge 63 commits into
apache:mainfrom
Damans227:oauth-per-domain

Merge branch 'main' into oauth-per-domain

d9748b0
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 29, 2026 in 0s

18.95% (+0.01%) compared to 82986f6

View this Pull Request on Codecov

18.95% (+0.01%) compared to 82986f6

Details

Codecov Report

❌ Patch coverage is 43.76997% with 176 lines in your changes missing coverage. Please review.
✅ Project coverage is 18.95%. Comparing base (82986f6) to head (d9748b0).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...tack/oauth2/api/command/ListOAuthProvidersCmd.java 0.00% 33 Missing ⚠️
...ack/oauth2/api/response/OauthProviderResponse.java 6.89% 26 Missing and 1 partial ⚠️
...he/cloudstack/oauth2/dao/OauthProviderDaoImpl.java 0.00% 26 Missing ⚠️
...pache/cloudstack/oauth2/OAuth2AuthManagerImpl.java 82.10% 8 Missing and 9 partials ⚠️
...cloudstack/oauth2/github/GithubOAuth2Provider.java 0.00% 17 Missing ⚠️
...th2/api/command/OauthLoginAPIAuthenticatorCmd.java 41.66% 12 Missing and 2 partials ⚠️
...ack/oauth2/api/command/UpdateOAuthProviderCmd.java 0.00% 10 Missing ⚠️
.../apache/cloudstack/framework/config/ConfigKey.java 50.00% 6 Missing and 1 partial ⚠️
...k/oauth2/api/command/RegisterOAuthProviderCmd.java 12.50% 6 Missing and 1 partial ⚠️
...cloudstack/oauth2/google/GoogleOAuth2Provider.java 70.00% 6 Missing ⚠️
... and 5 more
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #12702      +/-   ##
============================================
+ Coverage     18.94%   18.95%   +0.01%     
- Complexity    18363    18411      +48     
============================================
  Files          6192     6192              
  Lines        556361   556673     +312     
  Branches      67908    67972      +64     
============================================
+ Hits         105397   105542     +145     
- Misses       439393   439547     +154     
- Partials      11571    11584      +13     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.