mirror of
https://github.com/langgenius/dify.git
synced 2026-05-09 12:59:18 +08:00
- api: account-flow stores subject_issuer="dify:account" sentinel instead of NULL so the rotate-in-place unique index collides as intended (Postgres treats NULLs as distinct in unique indices). mint_oauth_token validates prefix-specific issuer rules. - api: enterprise_only inverts to an allowlist (ACTIVE / EXPIRING) so any future LicenseStatus value defaults to denial. - api: consume_on_poll moved to a single Lua script (GET + status-check + DEL) so concurrent pollers can't both observe APPROVED. - web: typed DeviceFlowError + central error-copy mapping; page surfaces rate_limited / lookup_failed view states; URL params scrubbed after consumption (RFC 8628 §5.4). |
||
|---|---|---|
| .. | ||
| versions | ||
| alembic.ini | ||
| env.py | ||
| README | ||
| script.py.mako | ||
Single-database configuration for Flask.