bugger/Sources/Services/Feishu
tigerenwork cf9de54792 fix: decode OAuth token response directly, not via FeishuAPIResponse wrapper
The /authen/v1/oidc/access_token and refresh_access_token endpoints return
token fields (access_token, refresh_token, expires_in) at the top level
of the JSON response, not nested under a 'data' key like standard Feishu
API responses. This caused 'Feishu API error (0): ok' — code 0 with no
wrapped data.

Changed exchangeCode and refreshAccessToken to decode OAuthTokenData
directly from the response. Removed unused decodeAPIResponse helper.

Also removed redirect_uri from token exchange body (not required by
Feishu's token endpoint).

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-29 00:13:48 +08:00
..
FeishuAuthService.swift fix: decode OAuth token response directly, not via FeishuAPIResponse wrapper 2026-06-29 00:13:48 +08:00
FeishuError.swift feat: full macOS menu bar app implementation 2026-06-28 20:56:44 +08:00
FeishuModels.swift feat: full macOS menu bar app implementation 2026-06-28 20:56:44 +08:00
FeishuService.swift feat: full macOS menu bar app implementation 2026-06-28 20:56:44 +08:00