Skip to content

web: improve base url helper text - #24455

Merged
emilburzo merged 3 commits into
mainfrom
add-context-path-detail-to-base-url-setting
Jul 29, 2026
Merged

emilburzo merged 3 commits into
mainfrom
add-context-path-detail-to-base-url-setting

Conversation

@emilburzo

@emilburzo emilburzo commented Jul 29, 2026 •

Copy link
Copy Markdown
Member

No description provided.

@emilburzo emilburzo self-assigned this Jul 29, 2026
Copilot AI review requested due to automatic review settings July 29, 2026 08:44
@emilburzo
emilburzo requested a review from a team as a code owner July 29, 2026 08:44
@netlify

netlify Bot commented Jul 29, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 8246f7b
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6a69d2088767280008885f41
😎 Deploy Preview https://deploy-preview-24455--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

netlify Bot commented Jul 29, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 60a5245
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a69bd8089717b0008b4b9e7
😎 Deploy Preview https://deploy-preview-24455--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.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

codecov Bot commented Jul 29, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.62%. Comparing base (5032d2b) to head (e1be77d).
⚠️ Report is 7 commits behind head on main.
✅ All tests successful. No failed tests found.

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     
Flag Coverage Δ
conformance 35.29% <ø> (+<0.01%) ⬆️
e2e 40.15% <ø> (+<0.01%) ⬆️
integration 31.89% <ø> (+<0.01%) ⬆️
rust 0.00% <ø> (ø)
unit 92.84% <ø> (+<0.01%) ⬆️
unit-migrate 92.87% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Signed-off-by: Emil Burzo <[email protected]>
Copilot AI review requested due to automatic review settings July 29, 2026 10:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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/ becomes https://authentik.company/authentik; see authentik/tenants/utils.py:31-33 and authentik/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).",

@github-actions

github-actions Bot commented Jul 29, 2026 •

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-e1be77d199625fcebf3a57b2ce40261f6bcf1818
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-e1be77d199625fcebf3a57b2ce40261f6bcf1818

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

Copilot AI review requested due to automatic review settings July 29, 2026 13:50
@emilburzo
emilburzo requested a review from a team as a code owner July 29, 2026 13:50

@BeryJu BeryJu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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.description still contain the old string (e.g. web/xliff/en.xlf and 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" },
                )}

@emilburzo
emilburzo requested a review from a team July 29, 2026 13:54
@emilburzo emilburzo added this to the Release 2026.8.0: Required milestone Jul 29, 2026

@kensternberg-authentik kensternberg-authentik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Easy PR without rocket science.

@github-project-automation github-project-automation Bot moved this from Todo to In Progress in authentik Core Jul 29, 2026
@emilburzo emilburzo moved this from In Progress to In review in authentik Core Jul 29, 2026
@emilburzo emilburzo moved this from In review to Needs review in authentik Core Jul 29, 2026
@emilburzo
emilburzo enabled auto-merge (squash) July 29, 2026 14:12
@emilburzo
emilburzo merged commit bc9771f into main Jul 29, 2026
123 checks passed
@emilburzo
emilburzo deleted the add-context-path-detail-to-base-url-setting branch July 29, 2026 14:21
@github-project-automation github-project-automation Bot moved this from Needs review to Done in authentik Core Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants