Skip to content

outpost: proxyv2: Use Postgres for the Embedded Outpost#16628

Merged
BeryJu merged 24 commits intogoauthentik:mainfrom
dominic-r:sdko/proxyv2-sessions-postgres
Oct 9, 2025
Merged

outpost: proxyv2: Use Postgres for the Embedded Outpost#16628
BeryJu merged 24 commits intogoauthentik:mainfrom
dominic-r:sdko/proxyv2-sessions-postgres

Conversation

@dominic-r
Copy link
Member

@dominic-r dominic-r commented Sep 5, 2025

Updates the proxyv2 embedded outpost to store it's sessions in Postgres instead of Redis due to the deprecation in authentik 2025.10

todo:

  • code review myself it
  • potential escaping of postgres dsn
  • fix the postgres tests that I need to find a way to run on mac
  • that todo in postgresstore

@netlify

This comment was marked as off-topic.

@netlify

This comment was marked as off-topic.

@notion-workspace
Copy link

@netlify

This comment was marked as off-topic.

@codecov
Copy link

codecov bot commented Sep 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.62%. Comparing base (14bc8b8) to head (631a051).
⚠️ Report is 15 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #16628      +/-   ##
==========================================
- Coverage   92.96%   92.62%   -0.35%     
==========================================
  Files         857      857              
  Lines       46563    46608      +45     
==========================================
- Hits        43288    43171     -117     
- Misses       3275     3437     +162     
Flag Coverage Δ
e2e 44.86% <100.00%> (-1.15%) ⬇️
integration 23.07% <100.00%> (-0.05%) ⬇️
unit 91.05% <100.00%> (+<0.01%) ⬆️
unit-migrate 91.10% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dominic-r dominic-r force-pushed the sdko/proxyv2-sessions-postgres branch from b8aee81 to 1e6e1cb Compare September 17, 2025 22:51
@dominic-r dominic-r force-pushed the sdko/proxyv2-sessions-postgres branch 3 times, most recently from 4fbaf32 to 2539c47 Compare October 4, 2025 20:12
@dominic-r dominic-r marked this pull request as ready for review October 4, 2025 20:13
@dominic-r dominic-r requested review from a team as code owners October 4, 2025 20:13
@dominic-r dominic-r requested review from BeryJu, Copilot and rissson and removed request for Copilot October 4, 2025 20:14
@BeryJu BeryJu requested a review from a team as a code owner October 8, 2025 16:57
@rissson rissson requested a review from BeryJu October 8, 2025 17:22
@dominic-r dominic-r force-pushed the sdko/proxyv2-sessions-postgres branch from 4884893 to 2351273 Compare October 9, 2025 01:05
dominic-r and others added 2 commits October 8, 2025 21:08
Co-authored-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Dominic R <dominic@sdko.org>
@dominic-r dominic-r force-pushed the sdko/proxyv2-sessions-postgres branch from cf5ad24 to 874041c Compare October 9, 2025 01:08
dominic-r and others added 2 commits October 9, 2025 07:24
Co-authored-by: Jens L. <jens@beryju.org>
Signed-off-by: Dominic R <dominic@sdko.org>
@dominic-r dominic-r requested a review from BeryJu October 9, 2025 11:27
dominic-r and others added 14 commits October 9, 2025 07:37
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu merged commit 6dde8bd into goauthentik:main Oct 9, 2025
90 of 92 checks passed
@dominic-r dominic-r deleted the sdko/proxyv2-sessions-postgres branch October 9, 2025 15:26
kensternberg-authentik added a commit that referenced this pull request Nov 10, 2025
* main: (56 commits)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in fr (#17361)
  website/docs: add entra id scim source (#17357)
  outpost: proxyv2: Use Postgres for the Embedded Outpost (#16628)
  tasks: set uid early (#17356)
  tasks: only set tenant on task creation (#17358)
  core: bump golang.org/x/oauth2 from 0.31.0 to 0.32.0 (#17346)
  web: bump eslint-plugin-react-hooks from 6.1.1 to 7.0.0 in /packages/eslint-config in the eslint group across 1 directory (#17347)
  web: bump chromedriver from 141.0.0 to 141.0.1 in /web (#17348)
  web: bump knip from 5.64.1 to 5.64.2 in /web (#17349)
  web: bump @formatjs/intl-listformat from 7.7.11 to 7.7.12 in /web (#17350)
  web: bump pino from 9.13.0 to 10.0.0 in /web (#17351)
  core: bump axllent/mailpit from v1.27.9 to v1.27.10 in /tests/e2e (#17352)
  enterprise/providers/gws+entra: fix group integrity error during discovery (#17355)
  core, web: update translations (#17342)
  ci: bump snok/container-retention-policy from 2.2.1 to 3.0.1 (#17344)
  core: bump goauthentik.io/api/v3 from 3.2025100.18 to 3.2025100.20 (#17345)
  packages/django-dramatiq-postgres: broker: task retrieval fixes and improvements (#17335)
  enterprise/providers/gws+entra: fix integrity error during discovery (#17341)
  web: bump API Client version (#17340)
  api: Clean schema up more (#17055)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants