fix: remove slug login's template browser dependency #297
No reviewers
Labels
No labels
activitypub
admin
api
architecture
articles
auth
bug
cleanup
cli
comments
compatibility
config
contacts
content
database
deployment
design
dev-env
diagnostics
docs
documentation
email
enhancement
feature
federation
feed
health
homepage
implementation
integration
logging
mastodon
media
navigation
npm-packages
openapi
opengraph
packages
passkeys
preview
priority:high
priority:low
priority:medium
production
proof
proxy
public-routes
public-ui
release
safety
slug-api
slug-auth
slug-core
slug-federation
slug-media
slug-template
social
sources
status:active
status:canceled
status:done
status:inprogress
status:waiting
syndication
tailwind
template
test
web
webauthn
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
erik/slugkit!297
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/task-695242ef-api-only-login"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Verification
No dependency, workflow, OpenAPI, server implementation, deployment or publication changes. New coverage uses mocked fetch and temporary local config only. NEVER browser/container/federation integration tests or runtime provisioning in CI/release workflows.
Task: #task-695242ef
Awaiting CI, independent review and explicit human merge approval.
Independent PR review
d773be4b2b56370205368638507eda00170c6d60), opentask-695242efSummary
This PR removes the required example-template
/cli/authassumption fromslug login. The CLI now prompts for a site-issued key, verifies it with the documented bearer-authenticatedGET /auth/checkunder the selected API base URL, and saves the named-site config only after verification. The browser opener/platform spawn path is removed, documentation is updated, and the template/cli/authpage remains only an optional manually accessed site convenience.Acceptance criteria
/cli/auth; login makes one exactGET <api-base-url>/auth/checkand does not invoke the legacy opener.AuthenticationErrorand preserve existing config byte-for-byte./cli/authpage remains documented as optional/manual and outside the portable API contract./auth/check.Quality and security
./scripts/pre-pr.sh,npm run test:ci, red regression log, and CI run #506 at the reviewed head reported green.Blocking issues
Warnings
Verdict
Approved. Await explicit human merge approval.