mirror of
https://github.com/dredx/prole.git
synced 2026-09-23 10:13:58 +00:00
- Copy pg-knoe-auth/ wholesale from upstream/knoe-db/20260523 (Task 1 of docs/plans/junie/upstream-knoe-db-20260523-integration.md). - Extension: PG18 OAUTHBEARER JWT validator using libcurl + OpenSSL RS256. - knoe-db/Dockerfile: add libcurl4-openssl-dev to dev deps; COPY src/ and build with make USE_PGXS=1 install after tds_fdw. - NOT enabled in the default database build (absent from 20_create_extensions.sh). To enable: CREATE EXTENSION pg_knoe_auth; (requires pg_hba.conf oauth_issuer). Closes Task 1 of upstream-knoe-db-20260523-integration.md.
28 lines
600 B
Plaintext
28 lines
600 B
Plaintext
SHOW shared_preload_libraries;
|
|
shared_preload_libraries
|
|
------------------------------------------
|
|
pg_stat_statements,pg_tde,pg_knoe_auth
|
|
(1 row)
|
|
|
|
SELECT current_setting('pg_knoe_auth.role_claim');
|
|
current_setting
|
|
-----------------
|
|
preferred_username
|
|
(1 row)
|
|
|
|
SELECT current_setting('pg_knoe_auth.audience');
|
|
current_setting
|
|
-----------------
|
|
pg.0.knoe.dev
|
|
(1 row)
|
|
|
|
SELECT count(*) > 0 AS pg_knoe_auth_loaded
|
|
FROM pg_catalog.pg_file_settings
|
|
WHERE name = 'shared_preload_libraries'
|
|
AND setting LIKE '%pg_knoe_auth%';
|
|
pg_knoe_auth_loaded
|
|
---------------------
|
|
t
|
|
(1 row)
|
|
|