Apache DolphinScheduler
Casdoor es uno de los métodos de inicio de sesión compatibles para Apache DolphinScheduler.
Paso 1: Desplegar Casdoor
Deploy Casdoor. See Server installation. Ensure the server is running (e.g. http://localhost:8000) and you can open the login page (e.g. http://localhost:7001) and sign in with admin / 123.
Paso 2: Configurar la Aplicación Casdoor
- Cree una nueva aplicación Casdoor o use una existente.
- Add your redirect URL (see the next section for how to obtain it).

- Añada el proveedor deseado y complete los demás ajustes necesarios.
Note Client ID and Client secret from the application page for the next step.
Abra su navegador favorito y visite http://CASDOOR_HOSTNAME/.well-known/openid-configuration para ver la configuración OIDC de Casdoor.
Paso 3: Configurar DolphinScheduler
dolphinscheduler-api/src/main/resources/application.yaml
security:
authentication:
# Authentication types (supported types: PASSWORD, LDAP, CASDOOR_SSO)
type: CASDOOR_SSO
casdoor:
# The URL of your Casdoor server
endpoint:
client-id:
client-secret:
# Use `|-` for multi-line certificate
certificate:
# The organization name you added in Casdoor
organization-name:
# The application name you added in Casdoor
application-name:
# The DolphinScheduler login URL
redirect-url: http://localhost:5173/login
Ahora, DolphinScheduler le redirigirá automáticamente a Casdoor para la autenticación.