Repository navigation
chore: default --host to localhost (was 127.0.0.1) - #22
Merged
Merged
Conversation
Browsers treat 127.0.0.1 and localhost as separate origins for storage, but for first-run UX localhost is the friendlier and more familiar default — matches Vite, Next.js dev, etc. — and WebAuthn (passkeys) explicitly requires the Relying Party ID to be 'localhost' or a real domain, so this also unlocks the eventual rung-3 climb. Server-side reachability is unchanged: Node's localhost bind covers both 127.0.0.1 and ::1 loopback. Existing users with browser data keyed to the old 127.0.0.1 origin will need to sign in again (IndexedDB is per-origin). - options.host default: '127.0.0.1' → 'localhost' - Banner / auto-open URL / IDP issuer follow automatically via formatUrl - Help text + README + inline LAN-warning copy updated - Loopback-check still accepts both names (no behaviour change there) Bumps jspod to 0.0.24.
29 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Switches jspod's default `--host` from `127.0.0.1` to `localhost`.
Why
Non-changes
Migration note for existing users
Browsers treat `http://127.0.0.1:5444\` and `http://localhost:5444\` as separate origins. IndexedDB (where solid-oidc stores tokens) is per-origin. Anyone upgrading from a prior jspod where they signed in via the `127.0.0.1` URL will need to sign in fresh via the new `localhost` URL. The pod-data on disk is unaffected; it's just the JS-side session.
Test plan
Bumps jspod to 0.0.24.