Sn0rrii
e958b10f75
fix(oidc): raise callback code/state max_length from 512 to 2048 ( #1024 )
...
Facebook and some other OAuth providers issue authorization codes that
exceed 512 characters. Pydantic rejected these with 422 string_too_long.
The OAuth spec defines no maximum code length; 2048 aligns with common
provider limits.
Also adds three integration tests to verify 512-char and 2048-char codes
are accepted while 2049-char codes are correctly rejected.
2026-04-19 08:10:56 +02:00
..
2026-02-24 08:18:02 +01:00
2026-02-03 09:13:00 +01:00
2026-04-13 13:24:28 +02:00
2026-04-13 13:24:28 +02:00
2026-02-20 08:51:13 +01:00
2026-04-04 12:54:31 +02:00
2026-04-17 08:38:22 +02:00
2026-04-18 12:30:01 +02:00
2026-02-08 12:17:20 +01:00
2026-03-27 12:58:08 +01:00
2026-02-18 11:58:17 +01:00
2026-04-14 11:10:24 +02:00
2026-04-02 09:59:00 +02:00
2026-03-07 09:17:26 +01:00
2026-04-18 12:30:01 +02:00
2026-04-16 10:40:32 +02:00
2026-04-14 11:16:26 +02:00
2026-04-12 14:16:17 +02:00
2026-02-09 17:00:02 +01:00
2026-03-19 08:40:24 +01:00
2026-03-07 15:40:48 +00:00
2026-04-19 08:10:56 +02:00
2026-03-17 12:01:18 +01:00
2026-03-24 11:31:32 +01:00
2026-04-18 08:50:46 +02:00
2026-02-06 11:58:38 +01:00
2026-03-27 12:58:08 +01:00
2026-04-10 12:54:27 +02:00
2026-04-16 09:36:44 +02:00
2026-03-18 07:52:59 +01:00
2026-04-12 15:10:40 +02:00
2026-04-01 10:06:01 +02:00
2026-04-11 12:42:49 +02:00
2026-04-13 08:26:46 +02:00
2026-04-14 12:22:07 +02:00
2026-04-04 09:05:35 +02:00
2026-03-27 14:35:08 +01:00
2026-03-22 14:22:49 +01:00
2026-04-13 13:24:28 +02:00
2026-03-17 16:25:31 +01:00
2026-04-04 13:01:54 +02:00
2026-02-20 08:51:13 +01:00