Bug: WebAuthn passkeys derive http origin behind TLS proxy #215
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#215
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem
WebAuthn passkey registration/login can fail behind TLS-terminating proxies because the app derives the expected RP origin from the internal request URL. In slugkit.com production, the pod received/derived
http://slugkit.comwhile the browser correctly returnedhttps://slugkit.com, causing verification failure.Observed on slugkit.com:
Expected
Passkey registration and login should verify against the public HTTPS origin when the app is deployed behind a proxy/ingress.
Scope
Acceptance criteria
https://<public-host>when public origin is configured and internal request URL is HTTP.Synced from todu comment by @todu on 2026-06-28T11:34:55.381Z
Review update
Acceptance criteria: 4/4 met. Blocking issues: 0. Warnings: 0.
Synced from todu comment by @todu on 2026-06-28T11:47:33.221Z
Closing summary
main.mainis aligned withorigin/mainat merge commit6a4ef87.Acceptance criteria verified:
https://<public-host>origin when configured and internal request URL is HTTP.Closing task as done.