mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 11:12:35 +02:00
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.