bugger/Sources/Services
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
..
Feishu fix: decode OAuth token response directly, not via FeishuAPIResponse wrapper 2026-06-29 00:13:48 +08:00
AppStateService.swift feat: full macOS menu bar app implementation 2026-06-28 20:56:44 +08:00
NotificationService.swift feat: full macOS menu bar app implementation 2026-06-28 20:56:44 +08:00
PollerService.swift feat: full macOS menu bar app implementation 2026-06-28 20:56:44 +08:00
TokenManager.swift fix: wider settings window, better OAuth error handling, empty refresh token guard 2026-06-29 00:09:28 +08:00