Skip to content

core: fix error when creating new user with default path#12609

Merged
BeryJu merged 1 commit intomainfrom
core/fix-user-create
Jan 9, 2025
Merged

core: fix error when creating new user with default path#12609
BeryJu merged 1 commit intomainfrom
core/fix-user-create

Conversation

@BeryJu
Copy link
Member

@BeryJu BeryJu commented Jan 9, 2025

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)

@BeryJu BeryJu requested review from a team as code owners January 9, 2025 13:20
@BeryJu
Copy link
Member Author

BeryJu commented Jan 9, 2025

/cherry-pick version-2024.12

@netlify
Copy link

netlify bot commented Jan 9, 2025

Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 7b98feb
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/677fcde799812e000841aadf
😎 Deploy Preview https://deploy-preview-12609--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 site configuration.

@netlify
Copy link

netlify bot commented Jan 9, 2025

Deploy Preview for authentik-docs canceled.

Name Link
🔨 Latest commit 7b98feb
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/677fcde83a11b0000802f7b3

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu force-pushed the core/fix-user-create branch from 5b923fd to 7b98feb Compare January 9, 2025 13:23
@codecov
Copy link

codecov bot commented Jan 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.74%. Comparing base (646d133) to head (7b98feb).
Report is 4 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #12609      +/-   ##
==========================================
+ Coverage   92.69%   92.74%   +0.05%     
==========================================
  Files         769      769              
  Lines       38823    38823              
==========================================
+ Hits        35987    36008      +21     
+ Misses       2836     2815      -21     
Flag Coverage Δ
e2e 48.58% <ø> (+0.08%) ⬆️
integration 24.65% <ø> (ø)
unit 90.38% <ø> (-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 9, 2025

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-7b98feb8f1ada9a8056b6cede898b2a1c690f7b4
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

For arm64, use these values:

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

For arm64, use these values:

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-7b98feb8f1ada9a8056b6cede898b2a1c690f7b4-arm64

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

@BeryJu BeryJu merged commit 56015d8 into main Jan 9, 2025
@BeryJu BeryJu deleted the core/fix-user-create branch January 9, 2025 14:22
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Jan 9, 2025
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
rissson pushed a commit that referenced this pull request Jan 9, 2025
…12609) (#12612)

core: fix error when creating new user with default path (#12609)

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 Jan 11, 2025
* main:
  website: revise full development environment instructions (#12638)
  website: bump typescript from 5.7.2 to 5.7.3 in /website (#12620)
  website: bump aws-cdk from 2.174.1 to 2.175.0 in /website (#12621)
  ci: bump docker/setup-qemu-action from 3.2.0 to 3.3.0 (#12622)
  core: bump twilio from 9.4.1 to 9.4.2 (#12623)
  core: bump python-kadmin-rs from 0.5.2 to 0.5.3 (#12624)
  core: bump ruff from 0.8.6 to 0.9.0 (#12625)
  core: bump pydantic from 2.10.4 to 2.10.5 (#12626)
  core: bump google-api-python-client from 2.157.0 to 2.158.0 (#12628)
  core: bump goauthentik.io/api/v3 from 3.2024121.3 to 3.2024122.1 (#12629)
  web: bump API Client version (#12617)
  release: 2024.12.2 (#12615)
  website/docs: prepare 2024.12.2 release notes (#12614)
  providers/saml: fix invalid SAML Response when assertion and response are signed (#12611)
  core: fix error when creating new user with default path (#12609)
  rbac: permissions endpoint: allow authenticated users (#12608)
  website/docs: update customer portal (#12603)
  website/docs: policy for email whitelist: modernize (#12558)
mahmoudajawad pushed a commit to mahmoudajawad/authentik that referenced this pull request Jan 15, 2025
…#12609)

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
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