Re: [PoC] Federated Authn/z with OAUTHBEARER

From: Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com>, mahendrakar s <mahendrakarforpg(at)gmail(dot)com>, Andrey Chudnovsky <achudnovskij(at)gmail(dot)com>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, "hlinnaka(at)iki(dot)fi" <hlinnaka(at)iki(dot)fi>, "michael(at)paquier(dot)xyz" <michael(at)paquier(dot)xyz>, "smilingsamay(at)gmail(dot)com" <smilingsamay(at)gmail(dot)com>, Stephen Frost <sfrost(at)snowman(dot)net>, Andrew Dunstan <andrew(at)dunslane(dot)net>
Subject: Re: [PoC] Federated Authn/z with OAUTHBEARER
Date: 2024-03-22 18:21:19
Message-ID: CAOYmi+=wvUAFZe+g5ZO=5YJ=cMs8VmBFJadyw84kJE9pbrwi4g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

v21 is a quick rebase over HEAD, which has adopted a few pieces of
v20. I've also fixed a race condition in the tests.

On Mon, Mar 11, 2024 at 3:51 PM Jacob Champion
<jacob(dot)champion(at)enterprisedb(dot)com> wrote:
> Andrew asked over at [2] if we could perhaps get 0001 in as well. I
> think the main thing to figure out there is, is requiring linkage
> against libpq (see 0008) going to be okay for the frontend binaries
> that need JSON support? Or do we need to do something like moving
> PQExpBuffer into src/common to simplify the dependency tree?

0001 has been pared down to the part that teaches jsonapi.c to use
PQExpBuffer and track out-of-memory conditions; the linkage questions
remain.

Thanks,
--Jacob

Attachment Content-Type Size
since-v20.diff.txt text/plain 22.1 KB
v21-0003-backend-add-OAUTHBEARER-SASL-mechanism.patch application/octet-stream 41.7 KB
v21-0002-libpq-add-OAUTHBEARER-SASL-mechanism.patch application/octet-stream 106.4 KB
v21-0004-Introduce-OAuth-validator-libraries.patch application/octet-stream 33.4 KB
v21-0001-common-jsonapi-support-libpq-as-a-client.patch application/octet-stream 16.6 KB
v21-0005-Add-pytest-suite-for-OAuth.patch application/octet-stream 176.9 KB
v21-0006-XXX-temporary-patches-to-build-and-test.patch application/octet-stream 1.7 KB
v21-0007-WIP-Python-OAuth-provider-implementation.patch application/octet-stream 10.8 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2024-03-22 18:38:26 Re: Cannot find a working 64-bit integer type on Illumos
Previous Message Robert Haas 2024-03-22 18:19:29 Re: documentation structure