Apache DolphinScheduler
Casdoor ist eine der unterstützten Login-Methoden für Apache DolphinScheduler.
Schritt 1: Casdoor bereitstellen
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.
Schritt 2: Casdoor-Anwendung konfigurieren
- Erstellen Sie eine neue Casdoor-Anwendung oder verwenden Sie eine bestehende.
- Add your redirect URL (see the next section for how to obtain it).

- Fügen Sie den gewünschten Anbieter hinzu und füllen Sie andere notwendige Einstellungen aus.
Note Client ID and Client secret from the application page for the next step.
Öffnen Sie Ihren bevorzugten Browser und besuchen Sie http://CASDOOR_HOSTNAME/.well-known/openid-configuration, um die OIDC-Konfiguration von Casdoor zu sehen.
Schritt 3: DolphinScheduler konfigurieren
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
Nun wird DolphinScheduler Sie automatisch zu Casdoor für die Authentifizierung weiterleiten.