Skip to content

web/admin: fix missing OSM referrerPolicy header#20984

Merged
BeryJu merged 1 commit intomainfrom
web/admin/fix-missing-osm-referrer-policy
Mar 18, 2026
Merged

web/admin: fix missing OSM referrerPolicy header#20984
BeryJu merged 1 commit intomainfrom
web/admin/fix-missing-osm-referrer-policy

Conversation

@BeryJu
Copy link
Member

@BeryJu BeryJu commented Mar 18, 2026

OSM started enforcing this, and due to our usage of openlayers-elements which is on OpenLayers 7.5 instead of 10.x this didn't get fixed by a dependency update.

see https://operations.osmfoundation.org/policies/tiles/

@BeryJu BeryJu requested a review from a team as a code owner March 18, 2026 16:27
@BeryJu BeryJu added area:frontend Features or issues related to the browser, TypeScript, Node.js, etc backport/version-2025.12 Add this label to PRs to backport changes to version-2025.12 backport/version-2026.2 Add this label to PRs to backport changes to version-2026.2 labels Mar 18, 2026
@netlify
Copy link

netlify bot commented Mar 18, 2026

Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 1446ef1
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/69bad5c14e45ab0008f58500
😎 Deploy Preview https://deploy-preview-20984--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 Mar 18, 2026

Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 78c6f7f
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/69bad261ecb00f0008e7d959
😎 Deploy Preview https://deploy-preview-20984--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
Copy link

codecov bot commented Mar 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.49%. Comparing base (e6c625a) to head (1446ef1).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #20984   +/-   ##
=======================================
  Coverage   93.49%   93.49%           
=======================================
  Files         993      993           
  Lines       56146    56146           
=======================================
+ Hits        52491    52492    +1     
+ Misses       3655     3654    -1     
Flag Coverage Δ
conformance 37.39% <ø> (+<0.01%) ⬆️
e2e 42.89% <ø> (+<0.01%) ⬆️
integration 22.21% <ø> (+<0.01%) ⬆️
unit 91.69% <ø> (+<0.01%) ⬆️
unit-migrate 91.79% <ø> (+<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.

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu force-pushed the web/admin/fix-missing-osm-referrer-policy branch from 78c6f7f to 1446ef1 Compare March 18, 2026 16:41
@github-actions
Copy link
Contributor

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-1446ef10cf944dfe65e82d91f0b92491b038a210
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-1446ef10cf944dfe65e82d91f0b92491b038a210

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

Copy link
Contributor

@kensternberg-authentik kensternberg-authentik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After reading the OpenStreetmap API docs, this looks straightforward and correct. Builds cleanly and runs without apparent error.

@BeryJu BeryJu merged commit 046bc8a into main Mar 18, 2026
143 of 148 checks passed
@BeryJu BeryJu deleted the web/admin/fix-missing-osm-referrer-policy branch March 18, 2026 22:09
authentik-automation bot pushed a commit that referenced this pull request Mar 18, 2026
This cherry-pick has conflicts that need manual resolution.

Original PR: #20984
Original commit: 046bc8a
@authentik-automation
Copy link
Contributor

⚠️ Cherry-pick to version-2025.12 has conflicts: #20989

@authentik-automation
Copy link
Contributor

🍒 Cherry-pick to version-2026.2 created: #20990

kensternberg-authentik added a commit that referenced this pull request Mar 18, 2026
* main:
  web/admin: fix missing OSM referrerPolicy header (#20984)
  ci: avoid installing unnecessary dependencies for lint (#20981)
BeryJu added a commit that referenced this pull request Mar 18, 2026
This cherry-pick has conflicts that need manual resolution.

Original PR: #20984
Original commit: 046bc8a

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
BeryJu added a commit that referenced this pull request Mar 18, 2026
…to version-2026.2) (#20990)

web/admin: fix missing OSM referrerPolicy header (#20984)

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: Jens L. <jens@goauthentik.io>
BeryJu added a commit that referenced this pull request Mar 18, 2026
…to version-2025.12) (#20989)

Cherry-pick #20984 to version-2025.12 (with conflicts)

This cherry-pick has conflicts that need manual resolution.

Original PR: #20984
Original commit: 046bc8a

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: Jens L. <jens@goauthentik.io>
kensternberg-authentik added a commit that referenced this pull request Mar 24, 2026
* main:
  website/docs: fix notification transport etc (#20982)
  web/admin: fix missing OSM referrerPolicy header (#20984)
  ci: avoid installing unnecessary dependencies for lint (#20981)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:frontend Features or issues related to the browser, TypeScript, Node.js, etc backport/version-2025.12 Add this label to PRs to backport changes to version-2025.12 backport/version-2026.2 Add this label to PRs to backport changes to version-2026.2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants