Skip to content

web/common: add dev middleware to show warnings for consecutive identical requests#19671

Merged
GirlBossRush merged 3 commits intomainfrom
web/common/dev-consecutive-requests
Jan 23, 2026
Merged

web/common: add dev middleware to show warnings for consecutive identical requests#19671
GirlBossRush merged 3 commits intomainfrom
web/common/dev-consecutive-requests

Conversation

@BeryJu
Copy link
Member

@BeryJu BeryJu commented Jan 22, 2026

Its fairly easy to add code in the frontend that will call the same endpoint many times. This middleware is only enabled in dev mode and will show a warning when this happens.

For example
image

indirect ref https://github.com/goauthentik/internal-customer-ref/issues/2

…ical requests

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu requested a review from a team as a code owner January 22, 2026 12:09
@netlify
Copy link

netlify bot commented Jan 22, 2026

Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 054a800
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/69726acb867a2d000884108f
😎 Deploy Preview https://deploy-preview-19671--authentik-storybook.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.

@netlify
Copy link

netlify bot commented Jan 22, 2026

Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit a9af126
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/69721365caac3c000866bbf8
😎 Deploy Preview https://deploy-preview-19671--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.

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@codecov
Copy link

codecov bot commented Jan 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.26%. Comparing base (95e7d19) to head (054a800).
⚠️ Report is 9 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #19671      +/-   ##
==========================================
- Coverage   93.27%   93.26%   -0.01%     
==========================================
  Files         949      949              
  Lines       52131    52187      +56     
==========================================
+ Hits        48623    48672      +49     
- Misses       3508     3515       +7     
Flag Coverage Δ
conformance 38.25% <ø> (-0.02%) ⬇️
e2e 44.13% <ø> (+0.02%) ⬆️
integration 23.19% <ø> (-0.02%) ⬇️
unit 91.49% <ø> (-0.02%) ⬇️
unit-migrate 91.52% <ø> (-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.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 22, 2026

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-054a800f4f989f8c1ba0dbb19cc7e4c42b8dd8da
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-054a800f4f989f8c1ba0dbb19cc7e4c42b8dd8da

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

@netlify
Copy link

netlify bot commented Jan 22, 2026

Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit 054a800
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/69726acb7161a1000859f51e
😎 Deploy Preview https://deploy-preview-19671--authentik-integrations.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.

@GirlBossRush GirlBossRush merged commit 20bd928 into main Jan 23, 2026
101 checks passed
@GirlBossRush GirlBossRush deleted the web/common/dev-consecutive-requests branch January 23, 2026 00:50
kensternberg-authentik added a commit that referenced this pull request Jan 31, 2026
* main: (115 commits)
  internal: fix incorrect metric calculation (#19701)
  core, web: update translations (#19684)
  core: bump goauthentik.io/api/v3 from 3.2026020.12 to 3.2026020.14 (#19686)
  lifecycle/aws: bump aws-cdk from 2.1101.0 to 2.1102.0 in /lifecycle/aws (#19687)
  core: bump goauthentik/selenium from 143.0-ak-0.35.3 to 144.0-ak-0.35.7 in /tests/e2e (#19688)
  core: bump msgraph-sdk from 1.52.0 to 1.53.0 (#19689)
  core: bump ruff from 0.14.13 to 0.14.14 (#19690)
  core: bump twilio from 9.9.1 to 9.10.0 (#19691)
  core: bump gunicorn from 23.0.0 to 24.0.0 (#19692)
  web: bump the bundler group across 1 directory with 3 updates (#19693)
  web: bump unist-util-visit from 5.0.0 to 5.1.0 in /web (#19694)
  web: bump globals from 17.0.0 to 17.1.0 in /web (#19695)
  ci: bump actions/checkout from 6.0.1 to 6.0.2 (#19696)
  web: Form Modal Independence: Part 1 (#19395)
  web/common: add dev middleware to show warnings for consecutive identical requests (#19671)
  web/admin: fix file upload not preserving extension for custom names with dots (#19548)
  web/admin: fix brand form sending "undefined" string for blank default application (#19658)
  providers/proxy: Fix incorrect comparison of redirect URL and CookieDomain (#15686)
  core: add bulk session revocation (#18564)
  website/docs: endpoint devices: add serial number note (#19677)
  ...
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