Files
dify/api/extensions
GareArc 9b2a37ceff feat(openapi): cookie auth for device-flow approval routes
Adds the openapi blueprint branch in load_user_from_request so that
account-branch device-flow approval routes (approve / deny /
approval-context) can authenticate via the console session cookie
under @login_required.

Splits extract_access_token into two helpers:
- extract_console_cookie_token (cookie-only) — used by openapi
  approval routes that must not fall through to the Authorization
  header, where dfoa_/dfoe_ bearers live (those aren't JWTs and
  PassportService.verify would crash on them).
- extract_access_token retains both code paths for legacy callers.
2026-04-28 20:41:38 -07:00
..
2026-04-16 08:50:02 +00:00
2026-04-16 08:50:02 +00:00
2025-10-21 11:26:58 +08:00
2025-10-21 11:26:58 +08:00
2025-10-21 11:26:58 +08:00
2026-04-16 08:50:02 +00:00
2026-04-16 02:21:04 +00:00