Re: Custom oauth validator options

2025-12-17 Thread Zsolt Parragi
> Overall, +1 that this limitation is real and worth discussing.I’ll plan to > send a patch shortly exploring option (b). Personally I would go with either (a) or (c), and I was planning to clean up / improve / share my (c) patch as a second attempt for this thread, if it didn't receive any repli

Re: Custom oauth validator options

2025-12-17 Thread Zsolt Parragi
> What kinds of parameters? Having a motivating use case would be > helpful; HBA isn't always as flexible as people assume and I want to > make sure that we can end with a usable feature. One issue we have is that some providers don't allow users to select what goes into the subject claim, but do

Re: Custom oauth validator options

2025-12-16 Thread VASUKI M
Hi All, The core issue,as you said,is that OAuth validators can add custom validation logic,but they can't define their own authentication-related parameters in pg_hba.conf,where they naturally belong.Because of that,validator-specific config ends up pushed into postgresql.conf via GUCs,which feel

Re: Custom oauth validator options

2025-12-16 Thread Jacob Champion
Sorry for missing this thread! On Tue, Dec 2, 2025 at 5:06 AM Zsolt Parragi wrote: > 1. Configuration for OAuth validation ends up split across two > locations: issuer/scope and a few other parameters are defined in > pg_hba.conf, while custom parameters must be set in postgresql.conf. Yeah. (Th