Skip to content

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

Draft
Damans227 wants to merge 42 commits intoapache:mainfrom
Damans227:oauth-per-domain
Draft

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

Conversation

@Damans227
Copy link
Copy Markdown
Collaborator

@Damans227 Damans227 commented Feb 25, 2026

Description

Add per-domain OAuth provider support. Allows OAuth providers (Google, GitHub) to be configured at the domain level with global fallback.

Design Doc

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Allow+OAuth+provider+per+domain

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • Build/CI
  • Test (unit or integration test code)

Screenshots and recording

Screenshot 2026-03-16 at 10 37 06 AM Screenshot 2026-03-16 at 10 37 51 AM
Screen.Recording.2026-03-16.at.10.34.53.AM.mp4

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

How Has This Been Tested?

Manual testing with GitHub OAuth provider configured at domain level and global level, verifying domain-specific lookup with global fallback.

Daman Arora and others added 19 commits December 18, 2025 11:23
@Damans227
Copy link
Copy Markdown
Collaborator Author

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@Damans227 a [SL] Jenkins job has been kicked to build packages. It will be bundled with no SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

Packaging result [SF]: ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 16931

@Damans227
Copy link
Copy Markdown
Collaborator Author

@blueorangutan package

Comment thread api/src/main/java/org/apache/cloudstack/auth/UserOAuth2Authenticator.java Outdated
Comment thread api/src/main/java/org/apache/cloudstack/auth/UserOAuth2Authenticator.java Outdated
Comment thread api/src/main/java/org/apache/cloudstack/auth/UserOAuth2Authenticator.java Outdated
Comment thread engine/schema/src/main/resources/META-INF/db/schema-42210to42300.sql Outdated
Comment thread engine/schema/src/main/resources/META-INF/db/schema-42210to42300.sql Outdated
@Damans227
Copy link
Copy Markdown
Collaborator Author

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@Damans227 a [SL] Jenkins job has been kicked to build packages. It will be bundled with no SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 17268

@Damans227
Copy link
Copy Markdown
Collaborator Author

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@Damans227 a [SL] Jenkins job has been kicked to build packages. It will be bundled with no SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 17502

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants