Make SASL max message length configurable
Daniel Gustafsson <dgustafsson@postgresql.org>
Make SASL max message length configurable The proposed OAUTHBEARER SASL mechanism will need to allow larger messages in the exchange, since tokens are sent directly by the client. Move this limit into the pg_be_sasl_mech struct so that it can be changed per-mechanism. Author: Jacob Champion <jacob.champion@enterprisedb.com> Reviewed-by: Daniel Gustafsson <daniel@yesql.se> Discussion: https://postgr.es/m/CAOYmi+nqX_5=Se0W0Ynrr55Fha3CMzwv_R9P3rkpHb=1kG7ZTQ@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/libpq/auth-sasl.c | modified | +1 −9 |
| src/backend/libpq/auth-scram.c | modified | +3 −1 |
| src/include/libpq/sasl.h | modified | +12 −1 |
Discussion
- [PoC] Federated Authn/z with OAUTHBEARER 429 messages · 2021-06-08 → 2025-08-08