web: Normalize use of .toJSON() over .json()#21621
Conversation
.toJSON() over .json()
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #21621 +/- ##
=======================================
Coverage 92.29% 92.29%
=======================================
Files 1032 1032
Lines 59789 59789
Branches 2537 2537
=======================================
+ Hits 55183 55184 +1
+ Misses 4541 4540 -1
Partials 65 65
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-a0bf666f21715e9c10faeed7bf0809a8eb768fca
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)sAfterwards, run the upgrade commands from the latest release notes. Instructions for KubernetesAdd the following block to your 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-a0bf666f21715e9c10faeed7bf0809a8eb768fcaAfterwards, run the upgrade commands from the latest release notes. |
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Details
This PR fixes a runtime error that occurs when using form inputs which are serialized use
.json()instead of.toJSON().