Skip to content

admin: fix system API when using bearer token - #13651

Merged
rissson merged 1 commit into
mainfrom
admin-fix-system-api-when-using-token
Mar 24, 2025
Merged

rissson merged 1 commit into
mainfrom
admin-fix-system-api-when-using-token

Conversation

@rissson

@rissson rissson commented Mar 24, 2025

Copy link
Copy Markdown
Member

Details

REPLACE ME


Checklist

  • Local tests pass (ak test authentik/)
  • The code has been formatted (make lint-fix)

If an API change has been made

  • The API schema has been updated (make gen-build)

If changes to the frontend have been made

  • The code has been formatted (make web)

If applicable

  • The documentation has been updated
  • The documentation has been formatted (make website)

@rissson rissson self-assigned this Mar 24, 2025
@rissson
rissson requested a review from a team as a code owner March 24, 2025 13:31
@rissson

rissson commented Mar 24, 2025

Copy link
Copy Markdown
Member Author

/cherry-pick version-2025.2

@netlify

netlify Bot commented Mar 24, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit b265b48
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/67e15ea80425da0008a1572f

@netlify

netlify Bot commented Mar 24, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit b265b48
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/67e15ea89f934100085c79bb
😎 Deploy Preview https://deploy-preview-13651--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 site configuration.

@rissson
rissson enabled auto-merge (squash) March 24, 2025 13:32
@codecov

codecov Bot commented Mar 24, 2025 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.74%. Comparing base (59d20e3) to head (b265b48).
Report is 5 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #13651      +/-   ##
==========================================
+ Coverage   92.71%   92.74%   +0.03%     
==========================================
  Files         794      794              
  Lines       40524    40524              
==========================================
+ Hits        37572    37585      +13     
+ Misses       2952     2939      -13     
Flag Coverage Δ
e2e 47.94% <0.00%> (+0.02%) ⬆️
integration 24.29% <0.00%> (ø)
unit 90.53% <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.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

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

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

@rissson
rissson merged commit 6383550 into main Mar 24, 2025
@rissson
rissson deleted the admin-fix-system-api-when-using-token branch March 24, 2025 14:42
gcp-cherry-pick-bot Bot pushed a commit that referenced this pull request Mar 24, 2025
rissson added a commit that referenced this pull request Mar 24, 2025
…13654)

* admin: fix system API when using bearer token (#13651)

Signed-off-by: Marc 'risson' Schmitt <[email protected]>

* fix build

Signed-off-by: Jens Langhammer <[email protected]>

* bump durationpy

Signed-off-by: Jens Langhammer <[email protected]>

---------

Signed-off-by: Marc 'risson' Schmitt <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Co-authored-by: Marc 'risson' Schmitt <[email protected]>
Co-authored-by: Jens Langhammer <[email protected]>
kensternberg-authentik added a commit that referenced this pull request Apr 25, 2025
* main: (76 commits)
  admin: fix system API when using bearer token (#13651)
  website: bump the build group in /website with 6 updates (#13645)
  core: bump goauthentik.io/api/v3 from 3.2025022.5 to 3.2025022.6 (#13646)
  translate: Updates for file web/xliff/en.xlf in fr (#13653)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in fr (#13652)
  website/integrations: add tandoor (#13560)
  core, web: update translations (#13642)
  providers/scim: fix group membership check failing (#13644)
  ci: add semgrep (#13643)
  flows: fix API not returning configured background (#13641)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in zh_CN (#13631)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in zh-Hans (#13633)
  translate: Updates for file web/xliff/en.xlf in zh_CN (#13632)
  translate: Updates for file web/xliff/en.xlf in zh-Hans (#13634)
  brands: fix migration 0008 by removing incorrect context manager usage (#13635)
  web: Fix prop. (#13630)
  core, web: update translations (#13628)
  web/admin: reworked sync status card (#13625)
  core: bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2 (#13626)
  translate: Updates for file web/xliff/en.xlf in zh-Hans (#13622)
  ...
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