Hyeonsang Cho
0479934fe2
fix(auth): read the live config off the event loop on public auth routes ( #7576 )
...
* fix(auth): read the live config off the event loop on public auth routes
/register, /setup-status, /providers, /oauth/{provider} and
/callback/{provider} read the live auth config through get_app_config()
inline. That call stats and hashes config.yaml and extensions_config.json
on every request and reparses them after an edit, and these routes are
unauthenticated, so any client could keep that file IO on the event
loop. /login/local already reads its throttle policy in a worker.
Read the registration gate through asyncio.to_thread, and the SSO
routes' auth.oidc section through a shared _oidc_config() helper that
does the same.
* docs(changelog): reference #7576 for the off-loop auth route config reads
---------
Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
2026-10-26 22:11:48 +08:00
..
2026-05-26 23:03:49 +08:00
2026-05-26 23:03:49 +08:00
2026-09-12 21:09:05 +08:00
2026-10-06 07:52:47 +08:00
2026-09-27 15:06:49 +08:00
2026-10-25 23:22:24 +08:00
2026-09-01 22:01:21 +08:00
2026-09-27 11:09:41 +08:00
2026-10-03 16:23:07 +08:00
2026-10-26 18:44:09 +08:00
2026-10-26 22:11:48 +08:00
2026-09-09 08:45:20 +08:00
2026-10-08 22:29:49 +08:00
2026-08-31 23:18:34 +08:00
2026-09-19 12:14:24 +08:00
2026-10-18 11:10:31 +08:00
2026-08-02 09:08:36 +08:00
2026-10-18 11:10:31 +08:00
2026-10-14 06:20:33 +08:00
2026-10-19 22:57:19 +08:00
2026-06-13 06:38:54 +08:00
2026-10-10 20:51:09 +08:00
2026-10-01 18:26:58 +08:00
2026-10-21 07:26:44 +08:00
2026-10-10 07:56:09 +08:00
2026-10-10 14:00:00 +08:00
2026-10-25 11:32:39 +08:00
2026-09-25 15:24:09 +08:00
2026-09-26 16:22:20 +08:00
2026-10-17 19:58:50 +08:00
2026-10-02 22:33:48 +08:00
2026-10-21 23:08:27 +08:00
2026-10-22 16:51:47 +08:00
2026-09-26 15:21:47 +08:00
2026-09-26 08:17:28 +08:00
2026-10-23 22:30:26 +08:00
2026-07-26 21:45:47 +08:00
2026-10-24 08:19:02 +08:00
2026-10-25 19:52:31 +08:00
2026-10-15 15:10:39 +08:00
2026-10-09 17:22:45 +08:00
2026-10-13 08:14:23 +08:00
2026-10-21 18:17:29 +08:00
2026-10-10 11:03:26 +08:00
2026-10-10 14:00:00 +08:00
2026-10-26 15:41:24 +08:00
2026-08-30 10:30:34 +08:00
2026-08-07 11:22:00 +08:00
2026-09-07 15:27:00 +08:00
2026-06-24 13:57:12 +08:00
2026-09-25 14:46:12 +08:00
2026-10-08 10:21:18 +08:00
2026-10-24 18:07:00 +08:00
2026-10-08 10:21:18 +08:00
2026-10-14 11:14:48 +08:00
2026-10-25 23:02:38 +08:00
2026-07-26 21:45:47 +08:00
2026-08-30 15:29:51 +08:00
2026-09-22 20:48:22 +08:00
2026-10-17 09:41:15 +08:00
2026-09-12 14:32:05 +08:00
2026-10-19 22:28:19 +08:00
2026-10-18 21:17:02 +08:00
2026-10-06 07:20:04 +08:00
2026-09-22 18:39:19 +08:00
2026-09-28 09:18:29 +08:00
2026-05-26 23:03:49 +08:00
2026-10-08 19:43:04 +08:00
2026-07-24 22:33:16 +08:00
2026-10-10 11:03:26 +08:00
2026-05-26 23:03:49 +08:00
2026-09-04 23:39:31 +08:00
2026-10-26 15:13:00 +08:00
2026-09-28 15:13:34 +08:00
2026-10-05 21:27:46 +08:00
2026-10-15 12:02:00 +08:00
2026-09-24 18:20:31 +08:00
2026-10-15 10:56:26 +08:00
2026-10-24 10:07:10 +08:00
2026-10-05 21:53:55 +08:00
2026-10-10 18:49:59 +08:00
2026-10-20 16:52:47 +08:00
2026-10-22 16:54:58 +08:00
2026-09-07 15:18:58 +08:00
2026-09-06 16:39:52 +08:00
2026-10-23 17:59:14 +08:00