You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add proper error handling for SCRAM-SERVER-FINAL-MESSAGE error attribute.
The SCRAM specification allows servers to return error messages via the 'e'
attribute in the server final message. Previously, these errors were ignored
and authentication would fail later during signature verification.
Postgres typically doesn't return this error, but poolers, or other applications
using the postgres protocol might, and it's part of the SCRAM spec, so it
probably makes sense for node-postgres to handle it.
Aligns behaviour with psql, postgrex, and somewhat with pgJDBC (pgJDBC is
stricter with scram errors).
0 commit comments