jif
ec8edd576c
Refine enterprise MCP auth errors and request authority checks ( #55691 )
...
## What changed
- Classify token-source failures by credential kind and exchange stage, with sign-in or administrator guidance that omits provider error text. Treat resource authorization failures separately from enterprise identity failures when deciding whether authentication is required.
- Add policy-bound request authority checks that return `RequestNotSent` when policy is updating or unavailable, while allowing admitted responses to finish. Support child authorities that isolate connection revocation and share response draining.
- Recheck account validity after acquiring the credential invalidation lock and check cancellation before deleting a rejected credential.
## Testing
Extend regression coverage for policy suspension during token renewal, completion of admitted requests, recovery with fresh authority, and transport retry classification. Expand provider-error tests to cover `unauthorized_client` and `invalid_client` while checking that credential text is not exposed.
GitOrigin-RevId: c0097adc35cb5fdffde1466e4bc2b5ec78114a4b
2026-10-20 22:33:14 +00:00
..
2026-10-20 11:55:08 +00:00
2026-10-14 07:13:22 +00:00
2026-07-23 19:19:35 +00:00
2026-10-20 21:28:45 +00:00
2026-10-09 13:15:39 +00:00
2026-08-24 22:40:35 +00:00
2026-10-20 15:43:19 +00:00
2026-09-30 00:51:39 +00:00
2026-10-20 22:25:54 +00:00
2026-10-15 21:35:40 +00:00
2026-10-17 02:19:20 +00:00
2026-10-20 05:25:43 +00:00
2026-10-08 20:11:43 +00:00
2026-10-20 15:43:19 +00:00
2026-10-12 11:24:22 +00:00
2026-10-16 23:56:33 +00:00
2026-09-18 00:25:37 +00:00
2026-10-15 19:51:22 +00:00
2026-09-23 00:47:34 +00:00
2026-10-20 15:43:19 +00:00
2026-10-07 22:11:14 +00:00
2026-10-20 15:43:19 +00:00
2026-10-20 22:25:54 +00:00
2026-10-01 22:32:29 +00:00
2026-10-19 21:43:19 +00:00
2026-10-20 15:43:19 +00:00
2026-08-28 19:44:50 +00:00
2026-06-11 18:16:39 -07:00
2026-10-20 18:53:06 +00:00
2026-10-20 18:53:06 +00:00
2026-10-20 21:28:45 +00:00
2026-10-20 21:28:45 +00:00
2026-10-20 15:43:19 +00:00
2026-10-19 21:43:19 +00:00
2026-09-24 01:50:36 +00:00
2026-05-07 15:44:17 -07:00
2026-10-20 22:33:14 +00:00
2026-10-20 21:28:45 +00:00
2026-08-31 21:27:51 +00:00
2026-10-16 19:26:46 +00:00
2026-10-17 04:02:21 +00:00
2026-10-20 21:28:45 +00:00
2026-10-20 14:14:59 +00:00
2026-10-19 15:15:17 +00:00
2026-10-20 22:27:04 +00:00
2026-10-20 21:28:45 +00:00
2026-10-08 20:11:43 +00:00
2026-10-20 21:28:45 +00:00
2026-10-20 22:33:14 +00:00
2026-10-20 21:28:45 +00:00
2026-08-17 04:37:50 +00:00
2026-10-20 21:28:45 +00:00
2026-10-20 21:28:45 +00:00
2026-10-20 17:29:40 +00:00
2026-10-20 11:42:48 +00:00
2026-10-19 19:10:58 +00:00
2026-10-19 19:33:42 +00:00
2026-10-13 17:22:34 +00:00
2026-10-19 15:15:41 +00:00
2026-10-19 22:01:41 +00:00
2026-10-10 01:25:00 +00:00
2026-10-18 22:43:56 +00:00
2026-10-14 17:56:24 +00:00
2026-10-08 16:19:09 +00:00
2026-09-29 22:24:09 +00:00
2026-10-20 16:25:02 +00:00
2026-07-22 04:17:34 +00:00
2026-10-20 21:34:24 +00:00
2026-10-19 11:36:21 +00:00
2026-10-15 21:29:41 +00:00
2026-10-20 15:43:19 +00:00
2026-10-02 23:26:27 +00:00
2026-10-19 22:21:13 +00:00
2026-10-19 20:54:41 +00:00
2026-10-15 22:25:58 +00:00
2026-10-20 21:28:45 +00:00
2026-09-01 17:17:45 +00:00
2026-10-06 21:29:35 +00:00
2026-05-25 17:26:10 -03:00
2026-10-19 19:55:39 +00:00
2026-10-19 21:43:19 +00:00
2026-10-10 02:54:59 +00:00
2026-10-12 18:53:49 +00:00
2026-10-19 16:56:42 +00:00
2026-10-20 22:33:14 +00:00
2026-10-20 18:40:33 +00:00
2026-10-07 07:57:14 +00:00
2026-10-20 17:29:40 +00:00
2026-10-20 21:28:45 +00:00
2026-10-20 21:28:45 +00:00
2026-09-24 18:08:31 +00:00
2026-10-20 21:28:45 +00:00
2026-10-19 21:01:44 +00:00
2026-10-15 21:07:40 +00:00
2026-10-02 00:46:14 +00:00
2026-10-12 17:52:12 +00:00
2026-05-07 15:44:17 -07:00
2026-10-15 19:01:43 +00:00
2026-10-20 09:53:33 +00:00
2026-10-17 04:02:21 +00:00
2026-10-20 21:40:30 +00:00
2026-10-01 18:05:05 +00:00
2026-10-13 22:40:57 +00:00
2026-10-20 22:25:54 +00:00
2026-10-16 06:06:54 +00:00
2026-06-13 21:43:39 -07:00
2026-10-20 21:28:45 +00:00
2026-10-20 21:28:45 +00:00
2026-09-22 23:37:39 +00:00
2026-10-08 01:12:16 +00:00
2026-10-20 14:48:59 +00:00
2026-09-23 00:47:07 +00:00
2026-10-01 15:57:03 +00:00
2026-10-07 22:11:14 +00:00
2026-10-20 21:28:45 +00:00
2026-10-20 04:49:25 +00:00
2026-07-28 20:49:22 +00:00
2026-07-11 03:27:51 +00:00
2026-07-29 13:53:15 +00:00
2026-10-20 11:55:08 +00:00
2026-06-04 09:16:03 -07:00
2026-10-20 21:28:45 +00:00