Skip to content

Document auth.cookie.path requirement when customizing admin.url - #3390

Merged
pwizla merged 2 commits into
mainfrom
cms/document-auth-cookie-path-with-custom-admin-url
Aug 24, 2026
Merged

Document auth.cookie.path requirement when customizing admin.url#3390
pwizla merged 2 commits into
mainfrom
cms/document-auth-cookie-path-with-custom-admin-url

Conversation

@pwizla

@pwizla pwizla commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

This PR documents that auth.cookie.path must be updated to match admin.url when the admin panel path is changed from its default, otherwise authentication silently fails because the browser does not send the cookie to the new path.

The caution is shared between the host/port/path customization page and the admin panel configuration reference through a new admin-url-cookie-path snippet, so the guidance stays in sync in both places.

Reported in #3384.

Fixes #3384

@pwizla pwizla added the auto-doc-healing Automatically generated documentation PR label Aug 24, 2026
@pwizla pwizla self-assigned this Aug 24, 2026
@strapi-cla

strapi-cla commented Aug 24, 2026

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ pwizla
❌ github-actions[bot]
You have signed the CLA already but the status is still pending? Let us recheck it.

@vercel

vercel Bot commented Aug 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
documentation Ready Ready Preview Aug 24, 2026 12:54pm

Request Review

The same caution was duplicated in the host/port/path customization page and
the admin panel configuration reference. It now lives in a single snippet
imported by both, using the absolute link so it resolves from either page.
@pwizla
pwizla marked this pull request as ready for review August 24, 2026 12:53
@pwizla pwizla added this to the 7.1.0 milestone Aug 24, 2026
@pwizla

pwizla commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator Author

Sounds good, now merging it.

@pwizla
pwizla merged commit 9169fb8 into main Aug 24, 2026
2 of 4 checks passed
@pwizla
pwizla deleted the cms/document-auth-cookie-path-with-custom-admin-url branch August 24, 2026 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-doc-healing Automatically generated documentation PR internal PRs created by the Strapi core team pr: updated content PRs updating existing documentation content source: CMS

2 participants