Skip to content

web/user: keep configure URL query strings when adding next - #27313

Merged
GirlBossRush merged 1 commit into
mainfrom
web/next-param-helper
Oct 29, 2026
Merged

GirlBossRush merged 1 commit into
mainfrom
web/next-param-helper

Conversation

@GirlBossRush

Copy link
Copy Markdown
Contributor

Details

This PR replaces AndNext() with withNext() on the user settings links. AndNext() appended ?next=… as a string; a configure URL that already had a query string ended up with two ?.

  • Add withNext(href, next), which sets next through URLSearchParams. It defaults to the current path and search.
  • Use it for the password, MFA and source "connect" links.
  • Deprecate AndNext().

Recovered from #15790.

@GirlBossRush
GirlBossRush requested a review from a team as a code owner October 28, 2026 16:21
@netlify

netlify Bot commented Oct 28, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 198960e
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6ae221166cea1a56904764e5
😎 Deploy Preview https://deploy-preview-27313--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.44%. Comparing base (e36f411) to head (198960e).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #27313      +/-   ##
==========================================
+ Coverage   92.36%   92.44%   +0.07%     
==========================================
  Files        1195     1195              
  Lines       81126    81126              
  Branches     4497     4497              
==========================================
+ Hits        74935    74998      +63     
+ Misses       6125     6062      -63     
  Partials       66       66              
Flag Coverage Δ
conformance 32.13% <ø> (+<0.01%) ⬆️
e2e 36.80% <ø> (+0.46%) ⬆️
integration 28.67% <ø> (-0.35%) ⬇️
rust 45.98% <ø> (ø)
unit 94.13% <ø> (+<0.01%) ⬆️
unit-migrate 94.13% <ø> (+<0.01%) ⬆️

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

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

@github-actions

github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Playwright e2e

Download this run's HTML report and traces, then open the report:

gh run download 40725197207 -D playwright-artifacts
npx playwright show-report playwright-artifacts/playwright-report

Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-198960ea22c852a6cdccd2b8818792fac9e5bb3f
# Distroless image: AUTHENTIK_TAG=gh-198960ea22c852a6cdccd2b8818792fac9e5bb3f-distroless
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-198960ea22c852a6cdccd2b8818792fac9e5bb3f
        # Distroless image: tag: gh-198960ea22c852a6cdccd2b8818792fac9e5bb3f-distroless

Afterwards, run the upgrade commands from the latest release notes.

@GirlBossRush GirlBossRush mentioned this pull request Oct 28, 2026
6 tasks
@GirlBossRush
GirlBossRush added this pull request to stack #27343 October 29, 2026 14:19
@GirlBossRush
GirlBossRush merged commit 513ab3c into main Oct 29, 2026
171 checks passed
@GirlBossRush
GirlBossRush deleted the web/next-param-helper branch October 29, 2026 17:34
kensternberg-authentik added a commit that referenced this pull request Oct 30, 2026
* main: (114 commits)
  website/integrations: add planka sso requirement note (#27376)
  core: bump ruff from 0.17.2 to 0.17.3 (#27370)
  core: bump cachetools from 7.2.5 to 7.2.6 (#27372)
  core: bump coverage[toml] from 7.16.2 to 7.17.0 (#27373)
  core: bump django from 5.2.17 to 5.2.18 (#27369)
  core: bump google-api-core from 2.36.0 to v2.43.0 (#27214)
  core: bump boto3 from 1.43.90 to v1.43.119 (#27208)
  core: bump googleapis-common-protos from 1.75.3 to v1.76.0 (#27217)
  core: bump msgpack from 1.2.3 to v1.2.4 (#27235)
  packages/django-dramatiq-postgres: limit task fetching (#27197)
  web/admin: make flow execute links base-path aware (#27314)
  lib: fix capture_logs not thread safe (#27355)
  web/user: keep configure URL query strings when adding next (#27313)
  web/flow: refresh WebAuthn challenge on authentication retry (#26616)
  server, lifecycle: drop idle upstream connections before uvicorn does (#27192)
  outposts: only write changed permissions, add endpoint to rebuild them (#26928)
  flows: fix planner not resolving stages causing extra queries (#27320)
  outposts/proxy: honor X-Forwarded-Host in envoy forward auth (#26888)
  website/docs: Update wording for internal and external users (#27345)
  server: strip hop-by-hop headers before forwarding to the application (#27191)
  ...
kensternberg-authentik added a commit that referenced this pull request Oct 30, 2026
* main: (115 commits)
  lib/tracing: use BatchSpanProcessor (#27387)
  website/integrations: add planka sso requirement note (#27376)
  core: bump ruff from 0.17.2 to 0.17.3 (#27370)
  core: bump cachetools from 7.2.5 to 7.2.6 (#27372)
  core: bump coverage[toml] from 7.16.2 to 7.17.0 (#27373)
  core: bump django from 5.2.17 to 5.2.18 (#27369)
  core: bump google-api-core from 2.36.0 to v2.43.0 (#27214)
  core: bump boto3 from 1.43.90 to v1.43.119 (#27208)
  core: bump googleapis-common-protos from 1.75.3 to v1.76.0 (#27217)
  core: bump msgpack from 1.2.3 to v1.2.4 (#27235)
  packages/django-dramatiq-postgres: limit task fetching (#27197)
  web/admin: make flow execute links base-path aware (#27314)
  lib: fix capture_logs not thread safe (#27355)
  web/user: keep configure URL query strings when adding next (#27313)
  web/flow: refresh WebAuthn challenge on authentication retry (#26616)
  server, lifecycle: drop idle upstream connections before uvicorn does (#27192)
  outposts: only write changed permissions, add endpoint to rebuild them (#26928)
  flows: fix planner not resolving stages causing extra queries (#27320)
  outposts/proxy: honor X-Forwarded-Host in envoy forward auth (#26888)
  website/docs: Update wording for internal and external users (#27345)
  ...
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.

2 participants