Title: Multi-user support: switch identities, multiple sessions, identity picker · Issue #7 · JavaScriptSolidServer/sso · GitHub
Open Graph Title: Multi-user support: switch identities, multiple sessions, identity picker · Issue #7 · JavaScriptSolidServer/sso
X Title: Multi-user support: switch identities, multiple sessions, identity picker · Issue #7 · JavaScriptSolidServer/sso
Description: Pre-1.0 placeholder for the multi-user dimensions of SSO. Each branch below probably becomes its own 0.0.x issue once we get there, but capturing the design space now so we don't paint ourselves into a corner with single-user assumptions...
Open Graph Description: Pre-1.0 placeholder for the multi-user dimensions of SSO. Each branch below probably becomes its own 0.0.x issue once we get there, but capturing the design space now so we don't paint ourselves in...
X Description: Pre-1.0 placeholder for the multi-user dimensions of SSO. Each branch below probably becomes its own 0.0.x issue once we get there, but capturing the design space now so we don't paint ourselve...
Opengraph URL: https://github.com/JavaScriptSolidServer/sso/issues/7
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Multi-user support: switch identities, multiple sessions, identity picker","articleBody":"Pre-1.0 placeholder for the multi-user dimensions of SSO. Each branch below probably becomes its own 0.0.x issue once we get there, but capturing the design space now so we don't paint ourselves into a corner with single-user assumptions.\n\n## Dimensions\n\n1. **One human, multiple Nostr keys.** A user has separate keys for different contexts (work, personal, anonymous) and wants to sign in as a specific one. The signer extension may have a default key but support switching.\n\n2. **Multiple browser sessions.** Different tabs / windows / private browsing — each can be a different identity simultaneously. The SSO page can't assume a single global session.\n\n3. **Same key, multiple pods.** The user's pubkey is bound to several WebIDs (work pod + personal pod). SSO needs to show a picker before redirecting.\n\n4. **Sign in as someone else.** A \"switch identity\" flow that clears the cached resolver-host (0.0.5) and restarts.\n\n5. **Family / shared device.** Pre-known list of identities surfaced as quick-pick buttons, with a \"different person\" fallback.\n\n## Interactions with the existing roadmap\n\n- **0.0.5 (resolver memory in localStorage)** — needs to scope by pubkey, not be global. Otherwise the \"last successful host\" leaks across identities on the same device.\n- **0.0.6 (authenticated session)** — token storage has to handle multiple concurrent sessions. Probably a session-keyed-by-pubkey map.\n- **0.0.7 (passkey-only fallback)** — different identity-discovery mechanism; needs to compose with everything above.\n\n## UX questions to settle\n\n- Where does the identity picker live? After signer-extension consent? Before?\n- How do we handle a signer that returns a different key than localStorage expected?\n- Default identity vs. always-prompt — which is the v1 behavior?\n- What's the \"logout\" semantics — wipe stored state for one identity, or all?\n\n## Out of scope (for now)\n\n- Account *creation* flow (a related but separate UX surface)\n- WebAuthn / passkey identities (tracked separately)\n\n## Refs\n\n- 0.0.1 in #1 — current single-user PoC assumes one key, one pod, one session\n- 0.0.5 in #4 — resolver-memory scoping is the first concrete piece that this issue touches","author":{"url":"https://github.com/melvincarvalho","@type":"Person","name":"melvincarvalho"},"datePublished":"2026-05-12T06:09:15Z","url":"https://github.com/JavaScriptSolidServer/sso/issues/7"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:887f1fc0-1144-9b71-0b6e-fa3146e9a020 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9D90:9E333:11937A:171D32:6B03977E |
| html-safe-nonce | 17e09b6a81ef207b42c5f0e9b8d86d1ab0e292da1fdc6421cb67f599c70c85c2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDkwOjlFMzMzOjExOTM3QToxNzFEMzI6NkIwMzk3N0UiLCJ2aXNpdG9yX2lkIjoiMzg5OTQ4NDY1MTg5MDM4MjcxOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a01f8ba07f92c1766b8fecb537f66ec127f76b81febe4c901773087988371ed0 |
| hovercard-subject-tag | issue:4426640621 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/JavaScriptSolidServer/sso/7/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6f8a4e838a3a770a0a01f81f35b445a222c6360d03a5fe88a7b7b3dc9bcf9d95/JavaScriptSolidServer/sso/issues/7 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6f8a4e838a3a770a0a01f81f35b445a222c6360d03a5fe88a7b7b3dc9bcf9d95/JavaScriptSolidServer/sso/issues/7 |
| og:image:alt | Pre-1.0 placeholder for the multi-user dimensions of SSO. Each branch below probably becomes its own 0.0.x issue once we get there, but capturing the design space now so we don't paint ourselves in... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | melvincarvalho |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/JavaScriptSolidServer/sso git https://github.com/JavaScriptSolidServer/sso.git |
| octolytics-dimension-user_id | 205442424 |
| octolytics-dimension-user_login | JavaScriptSolidServer |
| octolytics-dimension-repository_id | 1236281583 |
| octolytics-dimension-repository_nwo | JavaScriptSolidServer/sso |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1236281583 |
| octolytics-dimension-repository_network_root_nwo | JavaScriptSolidServer/sso |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width