supabase / supavisor

A cloud-native, multi-tenant Postgres connection pooler.
https://supabase.github.io/supavisor/
Apache License 2.0
1.66k stars 55 forks source link

Extend Helpers.parse_secret/2 to handle nil or empty secrets #324

Closed abc3 closed 2 months ago

abc3 commented 4 months ago

Currently, parse_secret/2 handles cases only if the secret is SCRAM-SHA-256 or MD5, otherwise, the ClientHandler will crash with an error.