This is an automated email from the ASF dual-hosted git repository.

gallardot pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new f9e6ecf480 [Fix-18006][UI] Fix KeyCloak icon 404 not found (#18007)
f9e6ecf480 is described below

commit f9e6ecf4808467e76468c80241006907b9783699
Author: xiangzihao <[email protected]>
AuthorDate: Sat Feb 28 15:31:34 2026 +0800

    [Fix-18006][UI] Fix KeyCloak icon 404 not found (#18007)
    
    * fix issue 18006
    
    * fix issue 18006
---
 .../src/main/resources/application.yaml            |   2 +-
 .../src/main/resources/application.yaml            |  23 +++++++++++++++++++++
 .../public/images/providers-icon/keycloak.png      | Bin 0 -> 8351 bytes
 3 files changed, 24 insertions(+), 1 deletion(-)

diff --git a/dolphinscheduler-api/src/main/resources/application.yaml 
b/dolphinscheduler-api/src/main/resources/application.yaml
index e4e5ca6b3a..2d7c593506 100644
--- a/dolphinscheduler-api/src/main/resources/application.yaml
+++ b/dolphinscheduler-api/src/main/resources/application.yaml
@@ -225,7 +225,7 @@ security:
           iconUri: ""
           provider: google
     oidc:
-      enable: true
+      enable: false
       providers:
         # registrationId used in URLs and internal mapping
         keycloak:
diff --git 
a/dolphinscheduler-standalone-server/src/main/resources/application.yaml 
b/dolphinscheduler-standalone-server/src/main/resources/application.yaml
index 71c309e6d7..a25283b225 100644
--- a/dolphinscheduler-standalone-server/src/main/resources/application.yaml
+++ b/dolphinscheduler-standalone-server/src/main/resources/application.yaml
@@ -142,6 +142,29 @@ security:
           callbackUrl: "http://127.0.0.1:5173/login";
           iconUri: ""
           provider: gitee
+    oidc:
+      enable: false
+      providers:
+        # registrationId used in URLs and internal mapping
+        keycloak:
+          display-name: "Login with Keycloak" # Text for UI Button
+          issuer-uri: http://keycloak:8080/realms/dolphinscheduler
+          icon-uri: "/images/providers-icon/keycloak.png"
+          client-id: dolphinscheduler-client
+          client-secret: dolphinscheduler-client-secret
+          # Optional: Specify client auth method (e.g., client_secret_basic, 
client_secret_post). Defaults if omitted.
+          # client-authentication-method: client_secret_basic
+          scope: openid, profile, email, groups # Default: openid, profile, 
email
+          user-name-attribute: preferred_username # Claim to use as username 
(e.g., email, preferred_username)
+          groups-claim: groups # Optional: Claim containing user groups/roles
+        # Add more providers here (e.g., okta, azure, google)
+        # okta: ....
+      user: # Settings for auto-provisioning OIDC users
+        auto-create: false # Create a DS user if not found? Default: false
+        default-tenant-code: "default" # Tenant code for auto-created users
+        default-queue: "default" # Queue for auto-created users (if needed by 
permissions)
+        admin-group-mapping: # Groups that map to an administrator role
+          - dolphinscheduler-admins
 
 casdoor:
   # Your Casdoor server url
diff --git a/dolphinscheduler-ui/public/images/providers-icon/keycloak.png 
b/dolphinscheduler-ui/public/images/providers-icon/keycloak.png
new file mode 100644
index 0000000000..4a888bf949
Binary files /dev/null and 
b/dolphinscheduler-ui/public/images/providers-icon/keycloak.png differ

Reply via email to