feat: /account.html post-sign-in dashboard#16
Merged
Conversation
After sign-in, signin.html now redirects to /account.html instead
of /. The new dashboard mirrors the Pivot / sc.net pattern:
- WebID display (clickable link to the profile resource)
- Pod URL
- Explore buttons for /profile/, /public/, /private/, /inbox/,
/settings/ — direct nav, no probe required since the user is
already authenticated
- Sign out button — calls session.logout(), redirects to /
- Footer credit pointing at jspod + solid-oidc
The page is auth-state-aware via solid-oidc:
- Active session → full dashboard
- No session → "You're not signed in. [Sign in]" with a
button pointing at /signin.html
- restore() failure → silently treated as "no session" (same
"Missing refresh data" handling as signin.html)
Public-read ACL (account.html.acl) so the page itself loads
before / without any session.
Welcome.html also gets an "Account" button alongside Sign in so
signed-in returning visitors have a clear route back.
Files:
- account.html (~5 KB, single file)
- account.html.acl
- signin.html — post-success redirect → /account.html
- welcome.html — Account button added next to Sign in
- index.js — always-overwrite copy for both new files
- package.json — files whitelist + 0.0.18 bump
Refs #1
This was referenced May 16, 2026
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
After sign-in, jspod now lands the user on `/account.html` — a small Pivot/sc.net-style dashboard — instead of bouncing them back to `/`. The page mirrors what other Solid servers do: shows the user's identity, gives navigation handles, exposes Sign out.
What's on the dashboard
http://localhost:5444/profile/card.jsonld#me)/profile/,/public/,/private/,/inbox/,/settings/Auth-state-aware
account.htmlis public-read so it always loads. JS inside picks a branch:/signin.htmlrestore()throws (no prior session) → treated as "no session" (same handling as signin.html)Flow change
signin.htmlpost-success redirect:/→/account.html.welcome.htmlgets a small "Account" button next to "Sign in" so signed-in returning visitors have a clear route back.Test plan
account.html+.aclshipped, served unauthenticated (HTTP 200, public-read inherits)/account.htmlunauthenticated shows the signed-out branch with a Sign in CTAnpx jspod@0.0.18after merge + publish for the full flowRefs #1