Skip to content

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

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

BeryJu merged 24 commits into
goauthentik:mainfrom
dominic-r:sdko/proxyv2-sessions-postgres

Conversation

@dominic-r

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

Copy link
Copy Markdown
Member

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
Copy Markdown

@netlify

This comment was marked as off-topic.

@codecov

codecov Bot commented Sep 5, 2025 •

Copy link
Copy Markdown

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.

Comment thread authentik/outposts/models.py Resolved
Comment thread authentik/providers/proxy/models.py Resolved
Comment thread docker-compose.outposttest.yml Resolved
@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
Comment thread authentik/providers/proxy/models.py Resolved
@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 and others added 7 commits October 8, 2025 21:08
Co-authored-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Dominic R <[email protected]>
Comment thread authentik/providers/proxy/models.py Resolved
Co-authored-by: Jens L. <[email protected]>
Signed-off-by: Dominic R <[email protected]>
@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 <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
@BeryJu
BeryJu merged commit 6dde8bd into goauthentik:main Oct 9, 2025
@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)
  ...
@dominic-r dominic-r self-assigned this Mar 28, 2026
@github-project-automation github-project-automation Bot moved this from Todo to Done in authentik Core Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants