-
Notifications
You must be signed in to change notification settings - Fork 4.8k
[Improvement-284][auth] Add generalized OIDC authentication with multi-provider support #17119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
…ovider configuration - Implemented pluggable OIDC support with Keycloak and Dex compatibility - Added GenericOidcAuthenticator and OidcService for dynamic OIDC login - Introduced config-driven provider support via �pplication.yaml - Extended LoginController to handle OIDC redirects and session creation - Enables scalable authentication using OIDC-compliant providers beyond Casdoor Related to: GSOC-284
Thanks for opening this pull request! Please check out our contributing guidelines. (https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/en/contribute/join/pull-request.md) |
@SneakyThrows | ||
@Operation(summary = "redirectToOidc", description = "REDIRECT_TO_OIDC_LOGIN") | ||
@GetMapping("redirect/login/oidc") | ||
public void loginByOidc(@RequestParam String code, @RequestParam String provider, |
Check failure
Code scanning / CodeQL
HTTP request type unprotected from CSRF High
state-changing action
@Operation(summary = "redirectToOidc", description = "REDIRECT_TO_OIDC_LOGIN") | ||
@GetMapping("redirect/login/oidc") | ||
public void loginByOidc(@RequestParam String code, @RequestParam String provider, | ||
HttpServletRequest request, HttpServletResponse response) { |
Check notice
Code scanning / CodeQL
Useless parameter Note
GSoC 2025
OidcService: Handles token exchange and user session handling.
OidcUserInfo: Extracts user info from ID token.
OidcConfiguration
OidcAuthenticationConfig These allow dynamic provider setup via application.yaml.
Redirect to the appropriate OIDC provider based on request.
Handle callback, extract user info, create session, and redirect back with session ID.