Dify-Plus extends Dify with Casdoor SSO, DingTalk and OAuth2 integrations, per-user quotas, API key limits, and unified system management in the same console—without a separate admin stack.
Overview
Dify-Plus is an enterprise-oriented fork of Dify that keeps the upstream application development surface—visual workflows, agents, knowledge bases and RAG, model and plugin management, publishing, and observability—while adding governance features in one console.
System management covers Casdoor single sign-on with discovery and JWKS validation, space role mapping, DingTalk QR login, generic OAuth2 settings, per-account usage quotas with USD accounting and optional CNY display, API key daily and monthly spend caps, an application center for published apps, WebApp login controls, chat memory windows, code execution sandbox policies by authorized email list, and workflow record archival to object storage.
Administration APIs share an authorization boundary: the active workspace must be the instance initialization space and the user must be owner or admin there. Casdoor integration scope is SSO; local sessions and workspace permissions remain after login.
Deployment uses the project's Docker Compose file with published ghcr.io images for API, web, agent, and sandbox components on linux/amd64 and linux/arm64. Initial setup visits the install path on your domain to create the administrator and initialization workspace.
Key features
- Dify workflows, agents, and RAG
- Casdoor SSO with role mapping
- DingTalk and generic OAuth2 login
- Per-user quotas and spend attribution
- API key daily and monthly limits
- Application center for published apps
- Code sandbox tiering by email allowlist
- Workflow run archival and restore
Use cases
- Enterprise self-hosted AI app platform
- SSO-governed multi-space Dify usage
- Metered model spend per user account
- Central catalog of approved applications
- Regulated code execution in workflows