dify/api/configs
GareArc fe9412af5d
feat(api): lift POST /oauth/device/code to /openapi/v1 (Phase B.6)
Canonical class OAuthDeviceCodeApi now lives in
controllers/openapi/oauth_device/code.py and is registered on
openapi_ns at /openapi/v1/oauth/device/code. service_api/oauth.py
re-registers the same class object on service_api_ns at
/v1/oauth/device/code so existing callers keep working until Phase F.

KNOWN_CLIENT_IDS literal moves to dify_config.OPENAPI_KNOWN_CLIENT_IDS
(CSV-parsed, default "difyctl") so new CLIs / SDKs can be admitted
without code changes (CLAUDE.md rule 8 — no magic strings).

_verification_uri helper moves with the handler. Single source of
truth — no duplicated logic between the two mounts.

Plan: docs/superpowers/plans/2026-04-26-openapi-migration.md (in difyctl repo).
2026-04-26 23:40:58 -07:00
..
deploy feat: add debug log for request and response (#19781) (#19783) 2025-05-17 17:31:09 +08:00
enterprise feat: enterprise otel exporter (#33138) 2026-03-27 07:56:31 +00:00
extra feat: add archive storage client and env config (#30422) 2025-12-31 16:14:46 +08:00
feature feat(api): lift POST /oauth/device/code to /openapi/v1 (Phase B.6) 2026-04-26 23:40:58 -07:00
middleware feat: support configurable redis key prefix (#35139) 2026-04-14 09:31:41 +00:00
observability feat: add otel endpoint config (#22492) 2025-07-16 18:24:17 +08:00
packaging fix: resolve typing errors in configs module (#25268) 2025-09-06 16:08:14 +08:00
remote_settings_sources more httpx (#25651) 2025-09-22 23:07:09 +08:00
__init__.py feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
app_config.py feat: enterprise otel exporter (#33138) 2026-03-27 07:56:31 +00:00