Bug: passkey registration uses http origin behind TLS proxy #11
Labels
No labels
activitypub
actor
admin
ai-safety
article
articles
atproto
bug
cli
configuration
content
dev-environment
docker
enhancement
feature
federation
fediverse
forgejo
garage
health
how-to
logging
markdown
mastodon
media
navigation
opengraph
passkeys
preview
priority:medium
production
release
rendering
s3
settings
setup
status:active
status:done
status:inprogress
technical
webauthn
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
erik/slugkit.com#11
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
Passkey registration fails on production slugkit.com because the server stores/verifies the WebAuthn expected origin as
http://slugkit.com, while the browser correctly returnshttps://slugkit.com.Observed pod log after retrying passkey registration on release
0.1.11:Likely cause: the app derives WebAuthn RP origin from the internal pod/proxy request URL (
context.req.url) after TLS termination, rather than the public HTTPS origin.Expected
Passkey registration on
https://slugkit.com/settings/passkeysshould verify againsthttps://slugkit.com.Scope
Acceptance criteria
https://slugkit.com.expected "http://slugkit.com"for passkey registration.Synced from todu comment by @todu on 2026-06-27T16:40:56.108Z
Review update
erik/slugkit.com#12is open and reviewed.Synced from todu comment by @todu on 2026-06-27T19:24:06.768Z
Production verification
0.1.13.expected "http://slugkit.com"WebAuthn origin error.Synced from todu comment by @todu on 2026-06-27T19:29:00.130Z
Close gate
Readiness: READY
Evidence:
0.1.13is deployed and user retested passkey creation successfully.expected "http://slugkit.com"WebAuthn origin error.0.1.13.