You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Batch /oauth/status now issues one gateway SELECT and reuses a single
TokenStorageService across all ids instead of one per id. Batch access
checks distinguish expected 403/404 omissions from 5xx/unexpected
failures, which are now logged instead of silently dropped. Database
token lookups re-raise on failure instead of collapsing to the same
"missing" result as a token that was never issued, so a transient DB
error is distinguishable in logs from "never authorized".
Signed-off-by: Marek Dano <mk.dano@gmail.com>
Copy file name to clipboardExpand all lines: docs/docs/manage/oauth-troubleshooting.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,8 @@ state_data = {
76
76
|`/oauth/authorize/{gateway_id}`| GET | Initiates OAuth flow, redirects to provider |
77
77
|`/vault/authorize/{server_id}`| GET | Per-user OAuth credential connection for team virtual servers (shared access control with `/oauth/authorize/{gateway_id}`) |
78
78
|`/oauth/callback`| GET | Handles OAuth callback, exchanges code for tokens |
79
-
|`/oauth/status/{gateway_id}`| GET | Returns OAuth configuration status |
79
+
|`/oauth/status/{gateway_id}`| GET | Returns OAuth configuration status; for `authorization_code` gateways also includes the caller's own `user_token_status` (valid/near_expiry/expired/missing) |
80
+
|`/oauth/status?gateway_ids=a&gateway_ids=b`| GET | Batch equivalent of the above, keyed by gateway id, so a grid of cards issues one request instead of N |
80
81
|`/oauth/fetch-tools/{gateway_id}`| POST | Fetches tools from MCP server after OAuth completion |
81
82
|`/oauth/registered-clients`| GET | Lists all DCR-registered OAuth clients. Requires `admin.oauth_clients:read` and un-narrowed platform admin access |
82
83
|`/oauth/registered-clients/{gateway_id}`| GET | Gets registered client for specific gateway. Requires `admin.oauth_clients:read` and un-narrowed platform admin access |
0 commit comments