Repository navigation
web: improve base url helper text - #24455
Conversation
✅ Deploy Preview for authentik-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull request overview
Updates the admin UI’s Base URL setting helper text to better guide operators configuring how this authentik instance is reached externally.
Changes:
- Refines the “Base URL” help text in the admin settings form to add guidance about excluding the path component.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #24455 +/- ##
=======================================
Coverage 93.62% 93.62%
=======================================
Files 1089 1089
Lines 66264 66264
Branches 424 424
=======================================
+ Hits 62041 62042 +1
+ Misses 4223 4222 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
Co-authored-by: Copilot Autofix powered by AI <[email protected]> Signed-off-by: Emil Burzo <[email protected]>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
Comments suppressed due to low confidence (1)
web/src/admin/admin-settings/AdminSettingsForm.ts:84
- The new helper text says “Do not include any path component”, but the backend explicitly preserves path components when normalizing
base_url(e.g.https://authentik.company/authentik/becomeshttps://authentik.company/authentik; seeauthentik/tenants/utils.py:31-33andauthentik/tenants/tests/test_normalize_base_url.py:20-24). This mismatch could confuse admins running authentik under a sub-path.
Suggestion: rephrase to only warn about trailing slashes, and clarify that a sub-path can be included when applicable (or alternatively enforce “no path component” in backend validation if that’s now the requirement).
"Configure the base URL under which this authentik instance is reachable, e.g. https://authentik.company. Do not include any path component (for example, /authentik).",
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-e1be77d199625fcebf3a57b2ce40261f6bcf1818
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-e1be77d199625fcebf3a57b2ce40261f6bcf1818Afterwards, run the upgrade commands from the latest release notes. |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.
Comments suppressed due to low confidence (1)
web/src/admin/admin-settings/AdminSettingsForm.ts:86
- This message text was updated, but the extracted XLIFF sources for
settings.base-url.descriptionstill contain the old string (e.g.web/xliff/en.xlfand other locales). Without re-extracting, localized bundles will remain out of sync and users may still see the previous helper text.
help=${msg(
"Configure the base URL under which this authentik instance is reachable, e.g. https://authentik.company. Do not include any path component (for example, /authentik).",
{ id: "settings.base-url.description" },
)}
kensternberg-authentik
left a comment
There was a problem hiding this comment.
Easy PR without rocket science.
No description provided.